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

patch 8.0.0615: using % with :hardcopy wrongly escapes spaces

Problem:    Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
Solution:   Expand % differently. (Christian Brabandt, closes #1682)
This commit is contained in:
Bram Moolenaar
2017-06-04 20:43:48 +02:00
parent 863e80b445
commit bf15b8d78b
3 changed files with 12 additions and 0 deletions

View File

@@ -5042,6 +5042,7 @@ expand_filename(
&& eap->cmdidx != CMD_lgrep
&& eap->cmdidx != CMD_grepadd
&& eap->cmdidx != CMD_lgrepadd
&& eap->cmdidx != CMD_hardcopy
#ifndef UNIX
&& !(eap->argt & NOSPC)
#endif