aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab1997-11-28 14:48:28 +0000
committerAndreas Schwab1997-11-28 14:48:28 +0000
commit91a0da02663ee44736dd129ffa0384570a620522 (patch)
treea29a94c70f2ee9a969a823c94cf370738cc91b3f /src
parent590034f994fcf47df4fcda0792ff5f0bd573e5ba (diff)
downloademacs-91a0da02663ee44736dd129ffa0384570a620522.tar.gz
emacs-91a0da02663ee44736dd129ffa0384570a620522.zip
(Fsuspend_emacs): Cast init_sys_modes when calling
record_unwind_protect.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 142fa40afeb..4f2f2b816d0 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7548,7 +7548,8 @@ On such systems, Emacs starts a subshell instead of suspending.")
7548 reset_sys_modes (); 7548 reset_sys_modes ();
7549 /* sys_suspend can get an error if it tries to fork a subshell 7549 /* sys_suspend can get an error if it tries to fork a subshell
7550 and the system resources aren't available for that. */ 7550 and the system resources aren't available for that. */
7551 record_unwind_protect (init_sys_modes, 0); 7551 record_unwind_protect ((Lisp_Object (*) P_ ((Lisp_Object))) init_sys_modes,
7552 0);
7552 stuff_buffered_input (stuffstring); 7553 stuff_buffered_input (stuffstring);
7553 if (cannot_suspend) 7554 if (cannot_suspend)
7554 sys_subshell (); 7555 sys_subshell ();