summaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-06 21:59:57 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-06 21:59:57 +0200
commitd7663c22c6c1ff0f86b81371586fbc851d3a3e9e (patch)
tree3979ae5a710ae9ca6fa4dcecde113961eca54cc1 /src/tag.c
parent0acae7acc40b9f12bff88d5e1dae494a761fec07 (diff)
patch 8.1.1823: command line history code is spread outv8.1.1823
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.
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tag.c b/src/tag.c
index 0c36db9838..147d83743d 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -3543,12 +3543,6 @@ jumpto_tag(
p_ws = TRUE; /* need 'wrapscan' for backward searches */
p_ic = FALSE; /* don't ignore case now */
p_scs = FALSE;
-#if 0 /* disabled for now */
-#ifdef FEAT_CMDHIST
- /* put pattern in search history */
- add_to_history(HIST_SEARCH, pbuf + 1, TRUE, pbuf[0]);
-#endif
-#endif
save_lnum = curwin->w_cursor.lnum;
curwin->w_cursor.lnum = 0; /* start search before first line */
if (do_search(NULL, pbuf[0], pbuf + 1, (long)1,