0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0789: sourcing a session sets v:errmsg

Problem:    Sourcing a session sets v:errmsg.
Solution:   Use "%argdel" instead of "argdel *". (Jason Franklin)
This commit is contained in:
Bram Moolenaar
2019-01-21 23:03:49 +01:00
parent b2148f5864
commit 555de4e3b2
3 changed files with 15 additions and 1 deletions

View File

@@ -12007,7 +12007,7 @@ ses_arglist(
if (fputs(cmd, fd) < 0 || put_eol(fd) == FAIL)
return FAIL;
if (put_line(fd, "silent! argdel *") == FAIL)
if (put_line(fd, "%argdel") == FAIL)
return FAIL;
for (i = 0; i < gap->ga_len; ++i)
{