diff options
author | Peter Stephenson <pws@zsh.org> | 2015-12-11 14:05:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-12-11 14:05:29 +0000 |
commit | 1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f (patch) | |
tree | 993ad576439f2aafbcd1f91259381722222078d7 | |
parent | 3272bdce987a3e5d5448688529ccb8290e148a67 (diff) | |
download | zsh-1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f.tar.gz zsh-1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f.tar.xz zsh-1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f.zip |
37386: localise mbegin, mend, match in URL magic
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Zle/url-quote-magic | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index fdea52655..7d3255907 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-12-11 Peter Stephenson <p.stephenson@samsung.com> + + * Functions/Zle/url-quote-magic: match, mbegin, mend should be + locally. + 2015-12-11 Oliver Kiddle <opk@zsh.org> * 37383: Matthew Martin: Completion/Unix/Command/_elfdump, diff --git a/Functions/Zle/url-quote-magic b/Functions/Zle/url-quote-magic index 0e49573db..7ee281ea4 100644 --- a/Functions/Zle/url-quote-magic +++ b/Functions/Zle/url-quote-magic @@ -115,7 +115,7 @@ alias globurl='noglob urlglobber ' function url-quote-magic { setopt localoptions noksharrays extendedglob local qkey="${(q)KEYS}" - local -a reply + local -a reply match mbegin mend if [[ "$KEYS" != "$qkey" ]] then local lbuf="$LBUFFER$qkey" |