# HG changeset patch # User Bram Moolenaar # Date 1340200137 -7200 # Node ID b2763055bdf26e1f11bf8cfb0601fefbefb34e0d # Parent d2c707d39aa127091a48066bc04c6ad89dbf6e64 updated for version 7.3.562 Problem: ":profdel" should not work when the +profile feature is disabled. Solution: Call ex_ni(). (Yasuhiro Matsumoto) diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -596,10 +596,15 @@ ex_breakdel(eap) garray_T *gap; gap = &dbg_breakp; + if (eap->cmdidx == CMD_profdel) + { #ifdef FEAT_PROFILE - if (eap->cmdidx == CMD_profdel) gap = &prof_ga; +#else + ex_ni(eap); + return; #endif + } if (vim_isdigit(*eap->arg)) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 562, +/**/ 561, /**/ 560,