Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
20379:e6db4b8d2834 | 20380:efe9d1d6fc23 |
---|---|
7546 GCPRO1 (stuffstring); | 7546 GCPRO1 (stuffstring); |
7547 get_frame_size (&old_width, &old_height); | 7547 get_frame_size (&old_width, &old_height); |
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 (); |
7555 else | 7556 else |
7556 sys_suspend (); | 7557 sys_suspend (); |