unposted: more local variables needed

This commit is contained in:
Peter Stephenson 2009-10-22 09:28:30 +00:00
parent 7c4c41a0bb
commit d5d858b0e2
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2009-10-22 Peter Stephenson <pws@csr.com>
* Functions/Zle/history-beginning-search-menu: unposted:
make more variables local.
* unposted, c.f. 27313: INSTALL, NEWS, README, Doc/Zsh/contrib.yo,
Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS,
Etc/FAQ.yo, Etc/changelog2html.pl,
@ -12265,5 +12268,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4794 $
* $Revision: 1.4795 $
*****************************************************

View file

@ -38,7 +38,7 @@ zmodload -i zsh/parameter
local -aU matches
local -a display
local search=$LBUFFER
local search=$LBUFFER MATCH MBEGIN MEND
search=${search//(#m)[\][()\\*?#<>~^]/\\$MATCH}
if [[ $WIDGET = *-space* ]]; then