summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-21 23:03:49 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-21 23:03:49 +0100
commit555de4e3b2881b0d9a72242ecc2ba26b5c698c85 (patch)
treea29222eafe75fe886346b3f19f7bd023525970e5 /src/ex_docmd.c
parentb2148f5864d297ca907cdecf7d13fa6c41ef2df1 (diff)
downloadvim-git-555de4e3b2881b0d9a72242ecc2ba26b5c698c85.tar.gz
patch 8.1.0789: sourcing a session sets v:errmsgv8.1.0789
Problem: Sourcing a session sets v:errmsg. Solution: Use "%argdel" instead of "argdel *". (Jason Franklin)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 4722eddb7..387d26d15 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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)
{