mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -596,10 +596,15 @@ ex_breakdel(eap)
|
||||
garray_T *gap;
|
||||
|
||||
gap = &dbg_breakp;
|
||||
#ifdef FEAT_PROFILE
|
||||
if (eap->cmdidx == CMD_profdel)
|
||||
{
|
||||
#ifdef FEAT_PROFILE
|
||||
gap = &prof_ga;
|
||||
#else
|
||||
ex_ni(eap);
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (vim_isdigit(*eap->arg))
|
||||
{
|
||||
|
Reference in New Issue
Block a user