Mercurial > vim
comparison src/ex_docmd.c @ 10809:3adae5c1b1cd v8.0.0294
patch 8.0.0294: argument list is not stored correctly in a session file
commit https://github.com/vim/vim/commit/79da563cf9220b9abb83455a68d995684133ea56
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 1 22:52:44 2017 +0100
patch 8.0.0294: argument list is not stored correctly in a session file
Problem: Argument list is not stored correctly in a session file.
(lgpasquale)
Solution: Use "$argadd" instead of "argadd". (closes #1434)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Feb 2017 23:00:04 +0100 |
parents | 4961e7acdd8c |
children | cc8079703414 |
comparison
equal
deleted
inserted
replaced
10808:9ac3f25e28af | 10809:3adae5c1b1cd |
---|---|
11788 { | 11788 { |
11789 (void)vim_FullName(s, buf, MAXPATHL, FALSE); | 11789 (void)vim_FullName(s, buf, MAXPATHL, FALSE); |
11790 s = buf; | 11790 s = buf; |
11791 } | 11791 } |
11792 } | 11792 } |
11793 if (fputs("argadd ", fd) < 0 | 11793 if (fputs("$argadd ", fd) < 0 |
11794 || ses_put_fname(fd, s, flagp) == FAIL | 11794 || ses_put_fname(fd, s, flagp) == FAIL |
11795 || put_eol(fd) == FAIL) | 11795 || put_eol(fd) == FAIL) |
11796 { | 11796 { |
11797 vim_free(buf); | 11797 vim_free(buf); |
11798 return FAIL; | 11798 return FAIL; |