1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

Julien Jehannet: users/14751: typo in variable name in zed

This commit is contained in:
Peter Stephenson 2010-01-29 20:58:43 +00:00
parent 06b7029aa8
commit 1d31834223
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Julien Jehannet: users/14751: Functions/Misc/zed: variable
incorrect when autoloading function.
2010-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 27638, based on Frank Terbeck, 27633: Doc/Zsh/options.yo,
@ -12639,5 +12644,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4873 $
* $Revision: 1.4874 $
*****************************************************

View file

@ -74,7 +74,7 @@ if ((fun)) then
var="$(functions $1)"
# If function is undefined but autoloadable, load it
if [[ $var = *\#\ undefined* ]] then
ar="$(autoload +X $1; functions $1)"
var="$(autoload +X $1; functions $1)"
elif [[ -z $var ]] then
var="$1() {
}"