1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves

This commit is contained in:
Sven Wischnowsky 2000-08-01 08:27:18 +00:00
parent 18772af412
commit d109322359
6 changed files with 6 additions and 6 deletions

View file

@ -138,4 +138,4 @@ _next_tags_pre() {
fi fi
} }
[[ -o kshautoload ]] || _next_tags "$@" _next_tags "$@"

View file

@ -817,4 +817,4 @@ _cvs_nonexisting_entries () {
} }
} }
[[ -o kshautoload ]] || _cvs "$@" _cvs "$@"

View file

@ -175,4 +175,4 @@ _mua_mailboxes() {
return ret return ret
} }
[[ -o kshautoload ]] || _mailboxes "$@" _mailboxes "$@"

View file

@ -195,4 +195,4 @@ _xset () {
_xset_parse _xset_parse
} }
[[ -o kshautoload ]] || _xset "$@" _xset "$@"

View file

@ -173,4 +173,4 @@ _xwit () {
_xwit_parse _xwit_parse
} }
[[ -o kshautoload ]] || _xwit "$@" _xwit "$@"

View file

@ -3189,7 +3189,7 @@ execautofn(Estate state, int do_exec)
return 1; return 1;
oldscriptname = scriptname; oldscriptname = scriptname;
scriptname = dupstring(state->prog->shf->nam); scriptname = dupstring(shf->nam);
execode(shf->funcdef, 1, 0); execode(shf->funcdef, 1, 0);
scriptname = oldscriptname; scriptname = oldscriptname;