summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Misc/zed2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 03a81f8d7..4f34392a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-27 Bart Schaefer <schaefer@zsh.org>
+
+ * 12396: Functions/Misc/zed: The value of `$(functions $1)' for
+ autoloadable functions has changed.
+
2000-07-27 Sven Wischnowsky <wischnow@zsh.org>
* 12394: Completion/Core/_main_complete: don't hide possible
diff --git a/Functions/Misc/zed b/Functions/Misc/zed
index dbf680270..68cb33fbe 100644
--- a/Functions/Misc/zed
+++ b/Functions/Misc/zed
@@ -41,7 +41,7 @@ bindkey -a "ZZ" accept-line
if ((fun)) then
var="$(functions $1)"
# If function is undefined but autoloadable, load it
- if [[ $var = undefined* ]] then
+ if [[ $var = *\#\ undefined* ]] then
local dir
for dir in $fpath; do
if [[ -f $dir/$1 ]] then