1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-30 05:40:58 +01:00

23301: fix semicolon mistyped as a colon.

This commit is contained in:
Clint Adams 2007-04-19 19:54:00 +00:00
parent 200059e02d
commit 8f0fefdbfd
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,11 @@
2007-04-19 Clint Adams <clint@zsh.org>
* 23301: Paul Ackersviller: Functions/Misc/add-zsh-hook:
fix semicolon mistyped as a colon.
2007-04-19 Peter Stephenson <pws@csr.com> 2007-04-19 Peter Stephenson <pws@csr.com>
* unposte: Config/version.mk: set release string to 4.3.4-dev-0. * unposted: Config/version.mk: set release string to 4.3.4-dev-0.
* users/11419: Doc/Zsh/zle.yo, * users/11419: Doc/Zsh/zle.yo,
Functions/Zle/backward-kill-word-match, Functions/Zle/backward-kill-word-match,

View file

@ -52,7 +52,7 @@ if (( del )); then
(( ${(P)#hook} )) || unset $hook (( ${(P)#hook} )) || unset $hook
fi fi
else else
if (( ${(P)+hook} )): then if (( ${(P)+hook} )); then
if (( ${(P)hook[(I)$fn]} == 0 )); then if (( ${(P)hook[(I)$fn]} == 0 )); then
set -A $hook ${(P)hook} $fn set -A $hook ${(P)hook} $fn
fi fi