diff options
Diffstat (limited to 'src/callint.c')
-rw-r--r-- | src/callint.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/callint.c b/src/callint.c index 9b3535474c0..57c86f0a633 100644 --- a/src/callint.c +++ b/src/callint.c @@ -402,8 +402,8 @@ invoke it. If KEYS is omitted or nil, the return value of real_this_command= save_real_this_command; current_kboard->Vlast_command = save_last_command; - single_kboard_state (); - return apply1 (function, specs); + temporarily_switch_to_single_kboard (NULL); + return unbind_to (speccount, apply1 (function, specs)); } /* Here if function specifies a string to control parsing the defaults */ @@ -854,12 +854,11 @@ invoke it. If KEYS is omitted or nil, the return value of real_this_command= save_real_this_command; current_kboard->Vlast_command = save_last_command; - single_kboard_state (); - { Lisp_Object val; specbind (Qcommand_debug_status, Qnil); + temporarily_switch_to_single_kboard (NULL); val = Ffuncall (count + 1, args); UNGCPRO; return unbind_to (speccount, val); |