summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-02-14 15:33:01 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-02-14 15:33:01 +0000
commitc3b79e0f69cc56c208573c72f03d229321dea92c (patch)
tree58ad85d12a07c7a8e676a337bce08621d1230392
parenta6dbc790651f30984427fe2c7a4b52760fdd8561 (diff)
downloadzsh-c3b79e0f69cc56c208573c72f03d229321dea92c.tar.gz
zsh-c3b79e0f69cc56c208573c72f03d229321dea92c.zip
users/16760: make reply local in url-quote-magic for the benefit of styles
-rw-r--r--ChangeLog7
-rw-r--r--Functions/Zle/url-quote-magic1
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c860050a..8864dec93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-14 Peter Stephenson <pws@csr.com>
+
+ * users/16760: Functions/Zle/url-quote-magic: make reply
+ local for the benefit of styles.
+
2012-02-13 Frank Terbeck <ft@bewatermyfriend.org>
* 30214: Functions/Prompts/prompt_redhat_setup: Fix quoting in
@@ -15972,5 +15977,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5583 $
+* $Revision: 1.5584 $
*****************************************************
diff --git a/Functions/Zle/url-quote-magic b/Functions/Zle/url-quote-magic
index ee8b6f62f..c7bb88c5d 100644
--- a/Functions/Zle/url-quote-magic
+++ b/Functions/Zle/url-quote-magic
@@ -60,6 +60,7 @@
# Use compsys for nested quoting analysis and command parsing.
# Establish default values for styles, but only if not already set
+local -a reply
zstyle -m ':url-quote-magic:\*' url-metas '*' ||
zstyle ':url-quote-magic:*' url-metas '*?[]^(|)~#{}='