summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-13 14:40:53 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-13 14:40:53 +0000
commit1e78deb0779bc403a914712f0842a65d2949dfdf (patch)
tree2e863626ef068d34cbe95a44e880c464ff631cd3
parent851f86b951cdd67ad9cf3149e46169d1375c8d82 (diff)
downloadvim-git-1e78deb0779bc403a914712f0842a65d2949dfdf.tar.gz
patch 8.2.3797: no good reason to limit the message history in tiny versionv8.2.3797
Problem: No good reason to limit the message history in the tiny version. Solution: Always use 200.
-rw-r--r--runtime/doc/message.txt3
-rw-r--r--src/feature.h10
-rw-r--r--src/version.c2
3 files changed, 6 insertions, 9 deletions
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 5334ac00c..cbb320a5b 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -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.
diff --git a/src/feature.h b/src/feature.h
index 52a2e44b7..fa79d7a60 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -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.
@@ -120,13 +120,9 @@
*/
/*
- * 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
diff --git a/src/version.c b/src/version.c
index 2da3159a4..15f0658b1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3797,
+/**/
3796,
/**/
3795,