1
0
forked from aniani/vim

patch 8.2.0113: "make cmdidxs" fails

Problem:    "make cmdidxs" fails.
Solution:   Allow address for ":cquit".  Add --not-a-term to avoid a delay.
This commit is contained in:
Bram Moolenaar
2020-01-12 15:46:08 +01:00
parent 02ad46394e
commit 9b24dfcb9f
5 changed files with 6 additions and 4 deletions

View File

@@ -1085,7 +1085,7 @@ endif
# If this fails because you don't have Vim yet, first build and install Vim
# without changes.
cmdidxs: ex_cmds.h
vim --clean -X -u create_cmdidxs.vim
vim --clean -X --not-a-term -u create_cmdidxs.vim
###########################################################################
INCL = vim.h alloc.h ascii.h ex_cmds.h feature.h globals.h \

View File

@@ -1417,7 +1417,7 @@ clean: testclean
# If this fails because you don't have Vim yet, first build and install Vim
# without changes.
cmdidxs: ex_cmds.h
vim --clean -X -u create_cmdidxs.vim
vim --clean -X --not-a-term -u create_cmdidxs.vim
test:
cd testdir

View File

@@ -2064,7 +2064,7 @@ autoconf:
# If this fails because you don't have Vim yet, first build and install Vim
# without changes.
cmdidxs: ex_cmds.h
vim --clean -X -u create_cmdidxs.vim
vim --clean -X --not-a-term -u create_cmdidxs.vim
# The normal command to compile a .c file to its .o file.

View File

@@ -408,7 +408,7 @@ EXCMD(CMD_cpfile, "cpfile", ex_cnext,
ADDR_OTHER),
EXCMD(CMD_cquit, "cquit", ex_cquit,
EX_RANGE|EX_COUNT|EX_ZEROR|EX_TRLBAR|EX_BANG,
ADDR_NONE),
ADDR_UNSIGNED),
EXCMD(CMD_crewind, "crewind", ex_cc,
EX_RANGE|EX_COUNT|EX_TRLBAR|EX_BANG,
ADDR_UNSIGNED),

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
113,
/**/
112,
/**/