diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 98f5070bcb..282e6a0e97 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3900,10 +3900,8 @@ do_sub(exarg_T *eap) if (!cmdmod.keeppatterns) save_re_pat(RE_SUBST, pat, p_magic); -#ifdef FEAT_CMDHIST - /* put pattern in history */ + // put pattern in history add_to_history(HIST_SEARCH, pat, TRUE, NUL); -#endif return; } |