summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2002-06-27 01:43:03 +0000
committerBart Schaefer <barts@users.sourceforge.net>2002-06-27 01:43:03 +0000
commit6278159f6dc177bdfd6a18779b081198d47a9a80 (patch)
treeb1fd3a95ea9c1ee76fa032eaa08cdb868397a41b
parentd28f67623f03ec9905e2e3f10b2f3dd7f61956ca (diff)
downloadzsh-6278159f6dc177bdfd6a18779b081198d47a9a80.tar.gz
zsh-6278159f6dc177bdfd6a18779b081198d47a9a80.tar.xz
zsh-6278159f6dc177bdfd6a18779b081198d47a9a80.zip
17357: Predefine autoloads in zsh emulation only.
-rw-r--r--ChangeLog5
-rw-r--r--Src/mkbltnmlst.sh2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d5cfebf1..fd8beb086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-26  Bart Schaefer  <schaefer@zsh.org>
+
+	* 17357: Src/mkbltnmlst.sh: predefine autoloads for zsh emulation
+	mode only, not sh/ksh/etc. modes.
+
 2002-06-26  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 17366: Completion/Base/Core/_main_complete,
diff --git a/Src/mkbltnmlst.sh b/Src/mkbltnmlst.sh
index 3eda6b448..8609cc0fd 100644
--- a/Src/mkbltnmlst.sh
+++ b/Src/mkbltnmlst.sh
@@ -20,6 +20,7 @@ trap "rm -f $1; exit 1" 1 2 15
 
 exec > $1
 
+echo "  if (emulation == EMULATE_ZSH) {"
 for x_mod in $x_mods; do
     modfile="`grep '^name='$x_mod' ' $CFMOD | sed -e 's/^.* modfile=//' \
       -e 's/ .*//'`"
@@ -60,6 +61,7 @@ for x_mod in $x_mods; do
     done
     test "x$linked" = xno && echo "#endif"
 done
+echo "  }"
 
 echo
 done_mods=" "