diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-17 17:20:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-17 17:20:23 +0100 |
commit | 21c1a0c2f10575dbb72fa873d33f0c1f6e170aa7 (patch) | |
tree | ab2a99240a83610e85c5d2632553266406d983ef /src/vim9execute.c | |
parent | 34a364877f0c726cdc0779e6999fded9ba959ebe (diff) | |
download | vim-git-21c1a0c2f10575dbb72fa873d33f0c1f6e170aa7.tar.gz |
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" worksv8.2.3530
Problem: ":buf \{a}" fails while ":edit \{a}" works.
Solution: Unescape "\{". (closes #8917)
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r-- | src/vim9execute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c index 481c94fde..8a14a856b 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -1147,7 +1147,8 @@ do_2string(typval_T *tv, int is_2string_any, int tolerant) while ((e = vim_strchr(s, '\n')) != NULL) { *e = NUL; - p = vim_strsave_fnameescape(s, FALSE); + p = vim_strsave_fnameescape(s, + VSE_NONE); if (p != NULL) { ga_concat(&ga, p); |