aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-08-12 14:05:56 +0000
committerJim Blandy1992-08-12 14:05:56 +0000
commitd5045cf974c16263403ab35b7212780e1a8b17f0 (patch)
tree6d89282a09a6a4dcea91773faeebc038184428f9 /src
parentfd0c2bd10961d18d61b7a09657da25518edcf944 (diff)
downloademacs-d5045cf974c16263403ab35b7212780e1a8b17f0.tar.gz
emacs-d5045cf974c16263403ab35b7212780e1a8b17f0.zip
* keyboard.c (Fsuspend_emacs): Call change_frame_size with the
proper arguments - the height and width are the second and third arguments, not the first and second. Pass 0 for DELAY. * keyboard.c (FRAME_IS_TERMCAP, FRAME_IS_X, FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P, and FRAME_HAS_MINIBUF_P, for consistency with the rest of the frame macros.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index bffff668c8c..1f00144b95c 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -851,7 +851,7 @@ command_loop_1 ()
851 851
852#if 0 852#if 0
853#ifdef HAVE_X_WINDOWS 853#ifdef HAVE_X_WINDOWS
854 if (FRAME_IS_X (selected_frame)) 854 if (FRAME_X_P (selected_frame))
855 { 855 {
856 if (i == -1) /* Mouse event */ 856 if (i == -1) /* Mouse event */
857 { 857 {
@@ -3210,7 +3210,7 @@ On such systems, Emacs will start a subshell and wait for it to exit.")
3210 with a window system; but suspend should be disabled in that case. */ 3210 with a window system; but suspend should be disabled in that case. */
3211 get_frame_size (&width, &height); 3211 get_frame_size (&width, &height);
3212 if (width != old_width || height != old_height) 3212 if (width != old_width || height != old_height)
3213 change_frame_size (height, width, 0); 3213 change_frame_size (0, height, width, 0, 0);
3214 3214
3215 /* Call value of suspend-resume-hook 3215 /* Call value of suspend-resume-hook
3216 if it is bound and value is non-nil. */ 3216 if it is bound and value is non-nil. */
@@ -3313,7 +3313,7 @@ interrupt_signal ()
3313 3313
3314 cancel_echoing (); 3314 cancel_echoing ();
3315 3315
3316 if (!NILP (Vquit_flag) && FRAME_IS_TERMCAP (selected_frame)) 3316 if (!NILP (Vquit_flag) && FRAME_TERMCAP_P (selected_frame))
3317 { 3317 {
3318 fflush (stdout); 3318 fflush (stdout);
3319 reset_sys_modes (); 3319 reset_sys_modes ();