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>
// 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;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1431,
/**/
1430,
/**/