From d5d858b0e2a1d87348124013646a083d4f9e43bb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 22 Oct 2009 09:28:30 +0000 Subject: unposted: more local variables needed --- ChangeLog | 5 ++++- Functions/Zle/history-beginning-search-menu | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4bb1855a3..d8af3200b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-10-22 Peter Stephenson + * 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 $ ***************************************************** diff --git a/Functions/Zle/history-beginning-search-menu b/Functions/Zle/history-beginning-search-menu index 891374925..105518102 100644 --- a/Functions/Zle/history-beginning-search-menu +++ b/Functions/Zle/history-beginning-search-menu @@ -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 -- cgit 1.4.1