# HG changeset patch # User Christian Brabandt # Date 1474400704 -7200 # Node ID 3e7f2754ff2495ca0a585b9bd2a122b45d19cee4 # Parent b7da8d4c594c90ad107a4039e5e29d816259314c commit https://github.com/vim/vim/commit/ebdd90ac282909c0bfcd6e83e70505abbbd5a38d Author: Bram Moolenaar Date: Tue Sep 20 21:39:14 2016 +0200 patch 8.0.0006 Problem: ":lb" is interpreted as ":lbottom" while the documentation says it means ":lbuffer". Solution: Adjust the order of the commands. (haya14busa, closes https://github.com/vim/vim/issues/1093) diff --git a/src/ex_cmds.h b/src/ex_cmds.h --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -730,12 +730,12 @@ EX(CMD_laddfile, "laddfile", ex_cfile, EX(CMD_later, "later", ex_later, TRLBAR|EXTRA|NOSPC|CMDWIN, ADDR_LINES), +EX(CMD_lbuffer, "lbuffer", ex_cbuffer, + BANG|RANGE|NOTADR|WORD1|TRLBAR, + ADDR_LINES), EX(CMD_lbottom, "lbottom", ex_cbottom, TRLBAR, ADDR_LINES), -EX(CMD_lbuffer, "lbuffer", ex_cbuffer, - BANG|RANGE|NOTADR|WORD1|TRLBAR, - ADDR_LINES), EX(CMD_lcd, "lcd", ex_cd, BANG|FILE1|TRLBAR|CMDWIN, ADDR_LINES), diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 6, +/**/ 5, /**/ 4,