[vim] 52/139: patch 7.4.1738 Problem: Count for ":messages" depends on number of lines. Solution: Add ADDR_OTHER address type.

James McCoy jamessan at debian.org
Fri May 6 04:00:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 5d91646599a7b74310845e30a2a52ff197dc0ed7
Author: Bram Moolenaar <Bram at vim.org>
Date:   Thu Apr 14 18:42:47 2016 +0200

    patch 7.4.1738
    Problem:    Count for ":messages" depends on number of lines.
    Solution:   Add ADDR_OTHER address type.
---
 src/ex_cmds.h | 3 ++-
 src/version.c | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 4095331..e2b30f2 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -66,6 +66,7 @@
 #define ADDR_BUFFERS		4
 #define ADDR_TABS		5
 #define ADDR_QUICKFIX		6
+#define ADDR_OTHER		99
 
 #ifndef DO_DECLARE_EXCMD
 typedef struct exarg exarg_T;
@@ -887,7 +888,7 @@ EX(CMD_menutranslate,	"menutranslate", ex_menutranslate,
 			ADDR_LINES),
 EX(CMD_messages,	"messages",	ex_messages,
 			EXTRA|TRLBAR|RANGE|CMDWIN,
-			ADDR_LINES),
+			ADDR_OTHER),
 EX(CMD_mkexrc,		"mkexrc",	ex_mkrc,
 			BANG|FILE1|TRLBAR|CMDWIN,
 			ADDR_LINES),
diff --git a/src/version.c b/src/version.c
index 0f8ff39..ad1511c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1738,
+/**/
     1737,
 /**/
     1736,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list