vim-patch:7.4.1738

Problem:    Count for ":messages" depends on number of lines.
Solution:   Add ADDR_OTHER address type.

5d91646599
This commit is contained in:
Michael Ennen 2016-11-26 16:23:26 -07:00
parent d2be11fbf2
commit f94740097b
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@ local ADDR_LOADED_BUFFERS = 3
local ADDR_BUFFERS = 4
local ADDR_TABS = 5
local ADDR_QUICKFIX = 6
local ADDR_OTHER = 99
-- The following table is described in ex_cmds_defs.h file.
return {
@ -1605,7 +1606,7 @@ return {
{
command='messages',
flags=bit.bor(EXTRA, TRLBAR, RANGE, CMDWIN),
addr_type=ADDR_LINES,
addr_type=ADDR_OTHER,
func='ex_messages',
},
{

View File

@ -73,6 +73,7 @@
#define ADDR_BUFFERS 4
#define ADDR_TABS 5
#define ADDR_QUICKFIX 6
#define ADDR_OTHER 99
typedef struct exarg exarg_T;

View File

@ -706,7 +706,7 @@ static int included_patches[] = {
1741,
1740,
// 1739,
// 1738,
1738,
// 1737 NA
// 1736 NA
1735,