forked from aniani/vim
patch 8.1.1823: command line history code is spread out
Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) Also graduate the +cmdline_hist feature.
This commit is contained in:
@@ -143,10 +143,8 @@ search_regcomp(
|
||||
magic = spats[i].magic;
|
||||
no_smartcase = spats[i].no_scs;
|
||||
}
|
||||
#ifdef FEAT_CMDHIST
|
||||
else if (options & SEARCH_HIS) /* put new pattern in history */
|
||||
add_to_history(HIST_SEARCH, pat, TRUE, NUL);
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_RIGHTLEFT
|
||||
if (mr_pattern_alloced)
|
||||
|
||||
Reference in New Issue
Block a user