about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-08-17 21:53:12 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-08-17 21:53:16 +0000
commitfa573a35794e46f3e3729853be03508d0e20985d (patch)
tree3e1d0e12a2d6070b4bef6de09099eba9336803b4
parentc799e01c6875871c0ecd01aed0da8779fc9bc92a (diff)
downloadzsh-fa573a35794e46f3e3729853be03508d0e20985d.tar.gz
zsh-fa573a35794e46f3e3729853be03508d0e20985d.tar.xz
zsh-fa573a35794e46f3e3729853be03508d0e20985d.zip
36109: bracketed-paste: change quoting style
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/zle_misc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 23f2b3b41..9ffa11230 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-08-17  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 36109: Src/Zle/zle_misc.c: bracketed-paste: change quoting
+	style
+
 	* 36186: Etc/FAQ.yo: FAQ (3.24): Update for bracketed paste
 
 2015-08-17  Mikael Magnusson  <mikachu@gmail.com>
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index 62fb8c86f..d25e4ebef 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -779,7 +779,7 @@ bracketedpaste(char **args)
 	int n;
 	ZLE_STRING_T wpaste;
 	wpaste = stringaszleline((zmult == 1) ? pbuf :
-	    quotestring(pbuf, NULL, QT_BACKSLASH), 0, &n, NULL, NULL);
+	    quotestring(pbuf, NULL, QT_SINGLE_OPTIONAL), 0, &n, NULL, NULL);
 	cuttext(wpaste, n, CUT_REPLACE);
 	if (!(zmod.flags & MOD_VIBUF)) {
 	    kct = -1;