0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.3.562

Problem:    ":profdel" should not work when the +profile feature is disabled.
Solution:   Call ex_ni(). (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2012-06-20 15:48:57 +02:00
parent 5e1a0a9a65
commit 38bdbd6c6f
2 changed files with 8 additions and 1 deletions

View File

@@ -596,10 +596,15 @@ ex_breakdel(eap)
garray_T *gap; garray_T *gap;
gap = &dbg_breakp; gap = &dbg_breakp;
#ifdef FEAT_PROFILE
if (eap->cmdidx == CMD_profdel) if (eap->cmdidx == CMD_profdel)
{
#ifdef FEAT_PROFILE
gap = &prof_ga; gap = &prof_ga;
#else
ex_ni(eap);
return;
#endif #endif
}
if (vim_isdigit(*eap->arg)) if (vim_isdigit(*eap->arg))
{ {

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
562,
/**/ /**/
561, 561,
/**/ /**/