mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 02:51:31 -08:00
(Fsuspend_emacs): Cast init_sys_modes when calling
record_unwind_protect.
This commit is contained in:
parent
590034f994
commit
91a0da0266
1 changed files with 2 additions and 1 deletions
|
|
@ -7548,7 +7548,8 @@ On such systems, Emacs starts a subshell instead of suspending.")
|
|||
reset_sys_modes ();
|
||||
/* sys_suspend can get an error if it tries to fork a subshell
|
||||
and the system resources aren't available for that. */
|
||||
record_unwind_protect (init_sys_modes, 0);
|
||||
record_unwind_protect ((Lisp_Object (*) P_ ((Lisp_Object))) init_sys_modes,
|
||||
0);
|
||||
stuff_buffered_input (stuffstring);
|
||||
if (cannot_suspend)
|
||||
sys_subshell ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue