mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(unbind_to, specbind): Use set_internal.
This commit is contained in:
parent
4b5878a8c6
commit
ab07bca08a
@ -2648,7 +2648,7 @@ specbind (symbol, value)
|
||||
if (BUFFER_OBJFWDP (ovalue) || KBOARD_OBJFWDP (ovalue))
|
||||
store_symval_forwarding (symbol, ovalue, value);
|
||||
else
|
||||
Fset (symbol, value);
|
||||
set_internal (symbol, value, 1);
|
||||
}
|
||||
|
||||
void
|
||||
@ -2686,7 +2686,7 @@ unbind_to (count, value)
|
||||
else if (NILP (specpdl_ptr->symbol))
|
||||
Fprogn (specpdl_ptr->old_value);
|
||||
else
|
||||
Fset (specpdl_ptr->symbol, specpdl_ptr->old_value);
|
||||
set_internal (specpdl_ptr->symbol, specpdl_ptr->old_value, 1);
|
||||
}
|
||||
if (NILP (Vquit_flag) && quitf) Vquit_flag = Qt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user