]> granicus.if.org Git - vim/commitdiff
patch 8.2.3797: no good reason to limit the message history in tiny version v8.2.3797
authorBram Moolenaar <Bram@vim.org>
Mon, 13 Dec 2021 14:40:53 +0000 (14:40 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 13 Dec 2021 14:40:53 +0000 (14:40 +0000)
Problem:    No good reason to limit the message history in the tiny version.
Solution:   Always use 200.

runtime/doc/message.txt
src/feature.h
src/version.c

index 5334ac00c05c290ecf6f360613c80a69d3a347f1..cbb320a5b5ba5c87db9e8d53b21e1c62103fa0bb 100644 (file)
@@ -29,8 +29,7 @@ depends on the 'shortmess' option.
                                Clear messages, keeping only the {count} most
                                recent ones.
 
-The number of remembered messages is fixed at 20 for the tiny version and 200
-for other versions.
+The number of remembered messages is fixed at 200.
 
                                                                *g<*
 The "g<" command can be used to see the last page of previous command output.
index 52a2e44b736ff0724b489c8ac2fa7a95d3b808c8..fa79d7a60f5171facfd91546e99d0b2a6d6488a6 100644 (file)
@@ -32,7 +32,7 @@
  * ==============
  *
  * +tiny               almost no features enabled, not even multiple windows
- * +small              few features enabled, as basic as possible
+ * +small              as tiny plus cmdline window
  * +normal             A default selection of features enabled
  * +big                        many features enabled, as rich as possible.
  * +huge               all possible features enabled.
  */
 
 /*
- * Message history is fixed at 200 message, 20 for the tiny version.
+ * Message history is fixed at 200 messages.
  */
-#ifdef FEAT_SMALL
-# define MAX_MSG_HIST_LEN 200
-#else
-# define MAX_MSG_HIST_LEN 20
-#endif
+#define MAX_MSG_HIST_LEN 200
 
 #if defined(FEAT_SMALL)
 # define FEAT_CMDWIN
index 2da3159a4d75b631bcce2ef0b4dc5d85f0b4a650..15f0658b169ad13493477e50aaf8033352c2f5f0 100644 (file)
@@ -749,6 +749,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3797,
 /**/
     3796,
 /**/