summaryrefslogtreecommitdiffstats
path: root/src/globals.h
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/globals.h
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/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index e6a5bb2e94..a07ab403fd 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1097,9 +1097,7 @@ EXTERN int need_start_insertmode INIT(= FALSE);
// start insert mode soon
EXTERN char_u *last_cmdline INIT(= NULL); // last command line (for ":)
EXTERN char_u *repeat_cmdline INIT(= NULL); // command line for "."
-#ifdef FEAT_CMDHIST
EXTERN char_u *new_last_cmdline INIT(= NULL); // new value for last_cmdline
-#endif
EXTERN char_u *autocmd_fname INIT(= NULL); // fname for <afile> on cmdline
EXTERN int autocmd_fname_full; // autocmd_fname is full path
EXTERN int autocmd_bufnr INIT(= 0); // fnum for <abuf> on cmdline