about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 '*?[]^(|)~#{}='