commit | 21c1a0c2f10575dbb72fa873d33f0c1f6e170aa7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Oct 17 17:20:23 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Oct 17 17:20:23 2021 +0100 |
tree | ab2a99240a83610e85c5d2632553266406d983ef | |
parent | 34a364877f0c726cdc0779e6999fded9ba959ebe [diff] [blame] |
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works Problem: ":buf \{a}" fails while ":edit \{a}" works. Solution: Unescape "\{". (closes #8917)
diff --git a/src/session.c b/src/session.c index 03b57f0..d2b360d 100644 --- a/src/session.c +++ b/src/session.c
@@ -43,7 +43,7 @@ } // escape special characters - p = vim_strsave_fnameescape(sname, FALSE); + p = vim_strsave_fnameescape(sname, VSE_NONE); vim_free(sname); if (p == NULL) return FAIL;