mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-04 06:14:50 +01:00
33750: handle function autoloads for DEBUG_BEFORE_CMD
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs() on TRAPDEBUG the first time each autoloaded function was run.
This commit is contained in:
parent
626398f37d
commit
22b4ededcf
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
2014-11-21 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 33750: Src/text.c: handle function autoloads for DEBUG_BEFORE_CMD
|
||||
|
||||
* unposted: Doc/Zsh/zle.yo: add menu reference to Text Objects
|
||||
|
||||
2014-11-21 Oliver Kiddle <opk@zsh.org>
|
||||
|
|
|
@ -834,6 +834,10 @@ gettext2(Estate state)
|
|||
taddstr("))");
|
||||
stack = 1;
|
||||
break;
|
||||
case WC_AUTOFN:
|
||||
taddstr("builtin autoload -X");
|
||||
stack = 1;
|
||||
break;
|
||||
case WC_TRY:
|
||||
if (!s) {
|
||||
taddstr("{");
|
||||
|
|
Loading…
Reference in a new issue