summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-01-29 20:58:43 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-01-29 20:58:43 +0000
commit1d31834223066694e2859f8ff8c84e22ae613810 (patch)
tree11ce1c9a50395f909ed790fc1dfe420d4bd756d7
parent06b7029aa8c06310135734c646ba795772f973bb (diff)
downloadzsh-1d31834223066694e2859f8ff8c84e22ae613810.tar.gz
zsh-1d31834223066694e2859f8ff8c84e22ae613810.tar.xz
zsh-1d31834223066694e2859f8ff8c84e22ae613810.zip
Julien Jehannet: users/14751: typo in variable name in zed
-rw-r--r--ChangeLog7
-rw-r--r--Functions/Misc/zed2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f47b9426..54a151349 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
diff --git a/Functions/Misc/zed b/Functions/Misc/zed
index b43b44b6b..2a3d2313e 100644
--- a/Functions/Misc/zed
+++ b/Functions/Misc/zed
@@ -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() {
 }"