From c8566ff77a347e7efc4cb2819cd7f58b68876e6f Mon Sep 17 00:00:00 2001 From: Philippe Vaucher Date: Sat, 1 Oct 2016 13:11:13 +0200 Subject: [PATCH] Restore `command-debug-status` functionality --- src/callint.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/callint.c b/src/callint.c index 053ee6cdaa54..46521519c333 100644 --- a/src/callint.c +++ b/src/callint.c @@ -837,7 +837,10 @@ invoke it. If KEYS is omitted or nil, the return value of kset_last_command (current_kboard, save_last_command); { - Lisp_Object val = Ffuncall (nargs, args); + Lisp_Object val; + specbind (Vcommand_debug_status, Qnil); + + val = Ffuncall (nargs, args); val = unbind_to (speccount, val); SAFE_FREE (); return val;