mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves
This commit is contained in:
parent
18772af412
commit
d109322359
6 changed files with 6 additions and 6 deletions
|
@ -138,4 +138,4 @@ _next_tags_pre() {
|
|||
fi
|
||||
}
|
||||
|
||||
[[ -o kshautoload ]] || _next_tags "$@"
|
||||
_next_tags "$@"
|
||||
|
|
|
@ -817,4 +817,4 @@ _cvs_nonexisting_entries () {
|
|||
}
|
||||
}
|
||||
|
||||
[[ -o kshautoload ]] || _cvs "$@"
|
||||
_cvs "$@"
|
||||
|
|
|
@ -175,4 +175,4 @@ _mua_mailboxes() {
|
|||
return ret
|
||||
}
|
||||
|
||||
[[ -o kshautoload ]] || _mailboxes "$@"
|
||||
_mailboxes "$@"
|
||||
|
|
|
@ -195,4 +195,4 @@ _xset () {
|
|||
_xset_parse
|
||||
}
|
||||
|
||||
[[ -o kshautoload ]] || _xset "$@"
|
||||
_xset "$@"
|
||||
|
|
|
@ -173,4 +173,4 @@ _xwit () {
|
|||
_xwit_parse
|
||||
}
|
||||
|
||||
[[ -o kshautoload ]] || _xwit "$@"
|
||||
_xwit "$@"
|
||||
|
|
|
@ -3189,7 +3189,7 @@ execautofn(Estate state, int do_exec)
|
|||
return 1;
|
||||
|
||||
oldscriptname = scriptname;
|
||||
scriptname = dupstring(state->prog->shf->nam);
|
||||
scriptname = dupstring(shf->nam);
|
||||
execode(shf->funcdef, 1, 0);
|
||||
scriptname = oldscriptname;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue