mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 7.4.1738
Problem: Count for ":messages" depends on number of lines. Solution: Add ADDR_OTHER address type.
This commit is contained in:
@@ -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),
|
||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1738,
|
||||
/**/
|
||||
1737,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user