mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
patch 9.1.1431: Hit-Enter Prompt when loading session files
Problem: Hit-Enter Prompt when loading session files Solution: use set+= for 'shortmess' to keep the existing flags (Miguel Barro) closes: #17445 Signed-off-by: Miguel Barro <miguel.barro@live.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
bb78ea23c6
commit
0ca5966196
@ -687,9 +687,9 @@ makeopens(
|
||||
|
||||
// set 'shortmess' for the following. Add the 'A' flag if it was there
|
||||
if (put_line(fd, "if &shortmess =~ 'A'") == FAIL
|
||||
|| put_line(fd, " set shortmess=aoOA") == FAIL
|
||||
|| put_line(fd, " set shortmess+=aoOA") == FAIL
|
||||
|| put_line(fd, "else") == FAIL
|
||||
|| put_line(fd, " set shortmess=aoO") == FAIL
|
||||
|| put_line(fd, " set shortmess+=aoO") == FAIL
|
||||
|| put_line(fd, "endif") == FAIL)
|
||||
goto fail;
|
||||
|
||||
|
@ -709,6 +709,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1431,
|
||||
/**/
|
||||
1430,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user