else if (ccline.cmdlen == 0 && c != Ctrl_W
&& ccline.cmdprompt == NULL && indent == 0)
{
-#ifdef FEAT_SEARCH_EXTRA
- int cmdlen;
-#endif
-
// In ex and debug mode it doesn't make sense to return.
if (exmode_active
#ifdef FEAT_EVAL
)
return CMDLINE_NOT_CHANGED;
-#ifdef FEAT_SEARCH_EXTRA
- cmdlen = ccline.cmdlen;
-#endif
dealloc_cmdbuff(); // no commandline to return
if (!cmd_silent)
msg_putchar(' '); // delete ':'
}
#ifdef FEAT_SEARCH_EXTRA
- if (cmdlen == 0)
- isp->search_start = isp->save_cursor;
+ isp->search_start = isp->save_cursor;
#endif
redraw_cmdline = TRUE;
return GOTO_NORMAL_MODE;
\ .. "! foo foobar", execute('abbrev'))
abclear
- call assert_equal("\n\nNo abbreviation found", execute('abbrev'))
+ call assert_equal("\n\nNo abbreviation found", execute('abbrev'))
%bwipe
endfunc