From d7663c22c6c1ff0f86b81371586fbc851d3a3e9e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 6 Aug 2019 21:59:57 +0200 Subject: 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. --- src/feature.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/feature.h') diff --git a/src/feature.h b/src/feature.h index e2166a135b..89d6caef40 100644 --- a/src/feature.h +++ b/src/feature.h @@ -102,10 +102,8 @@ /* * +cmdhist Command line history. + * Now always included. */ -#ifdef FEAT_SMALL -# define FEAT_CMDHIST -#endif /* * Message history is fixed at 200 message, 20 for the tiny version. @@ -123,8 +121,7 @@ # define FEAT_JUMPLIST #endif -/* the cmdline-window requires FEAT_CMDHIST */ -#if defined(FEAT_CMDHIST) +#if defined(FEAT_SMALL) # define FEAT_CMDWIN #endif -- cgit v1.2.3