about summary refs log tree commit diff
path: root/Src
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 /Src
parentd28f67623f03ec9905e2e3f10b2f3dd7f61956ca (diff)
downloadzsh-6278159f6dc177bdfd6a18779b081198d47a9a80.tar.gz
zsh-6278159f6dc177bdfd6a18779b081198d47a9a80.tar.xz
zsh-6278159f6dc177bdfd6a18779b081198d47a9a80.zip
17357: Predefine autoloads in zsh emulation only.
Diffstat (limited to 'Src')
-rw-r--r--Src/mkbltnmlst.sh2
1 files changed, 2 insertions, 0 deletions
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=" "