Mercurial > emacs
diff src/keyboard.c @ 20380:efe9d1d6fc23
(Fsuspend_emacs): Cast init_sys_modes when calling
record_unwind_protect.
| author | Andreas Schwab <schwab@suse.de> |
|---|---|
| date | Fri, 28 Nov 1997 14:48:28 +0000 |
| parents | 94bdb0d152a5 |
| children | 01f1baff05d3 |
line wrap: on
line diff
--- a/src/keyboard.c Fri Nov 28 14:45:07 1997 +0000 +++ b/src/keyboard.c Fri Nov 28 14:48:28 1997 +0000 @@ -7548,7 +7548,8 @@ 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 ();
