diff options
| author | Richard M. Stallman | 1996-06-10 20:56:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-10 20:56:25 +0000 |
| commit | fd8ff63d8d9ec12d0029b857119d39483ff06109 (patch) | |
| tree | b361cc6c719480df9be1ad5c6d9ee2de482516c1 /src | |
| parent | ab6ce60e0156342a243997a8278376bd837b9217 (diff) | |
| download | emacs-fd8ff63d8d9ec12d0029b857119d39483ff06109.tar.gz emacs-fd8ff63d8d9ec12d0029b857119d39483ff06109.zip | |
(redisplay_internal): Use FRAME_WINDOW_P.
(decode_mode_spec): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index c68a1148da4..d1f74c5fe12 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -838,7 +838,7 @@ redisplay_internal (preserve_echo_area) | |||
| 838 | #endif | 838 | #endif |
| 839 | 839 | ||
| 840 | #ifdef MULTI_FRAME | 840 | #ifdef MULTI_FRAME |
| 841 | if ((FRAME_TERMCAP_P (selected_frame) || FRAME_MSDOS_P (selected_frame)) | 841 | if (! FRAME_WINDOW_P (selected_frame) |
| 842 | && previous_terminal_frame != selected_frame) | 842 | && previous_terminal_frame != selected_frame) |
| 843 | { | 843 | { |
| 844 | /* Since frames on an ASCII terminal share the same display area, | 844 | /* Since frames on an ASCII terminal share the same display area, |
| @@ -1073,8 +1073,7 @@ redisplay_internal (preserve_echo_area) | |||
| 1073 | FOR_EACH_FRAME (tail, frame) | 1073 | FOR_EACH_FRAME (tail, frame) |
| 1074 | { | 1074 | { |
| 1075 | FRAME_PTR f = XFRAME (frame); | 1075 | FRAME_PTR f = XFRAME (frame); |
| 1076 | if (! FRAME_TERMCAP_P (f) && ! FRAME_MSDOS_P (f) | 1076 | if (FRAME_WINDOW_P (f) || f == selected_frame) |
| 1077 | || f == selected_frame) | ||
| 1078 | { | 1077 | { |
| 1079 | 1078 | ||
| 1080 | /* Mark all the scroll bars to be removed; we'll redeem the ones | 1079 | /* Mark all the scroll bars to be removed; we'll redeem the ones |
| @@ -1123,8 +1122,7 @@ update: | |||
| 1123 | 1122 | ||
| 1124 | f = XFRAME (XCONS (tail)->car); | 1123 | f = XFRAME (XCONS (tail)->car); |
| 1125 | 1124 | ||
| 1126 | if (((! FRAME_TERMCAP_P (f) && ! FRAME_MSDOS_P (f)) | 1125 | if ((FRAME_WINDOW_P (f) || f == selected_frame) |
| 1127 | || f == selected_frame) | ||
| 1128 | && FRAME_VISIBLE_P (f)) | 1126 | && FRAME_VISIBLE_P (f)) |
| 1129 | { | 1127 | { |
| 1130 | pause |= update_frame (f, 0, 0); | 1128 | pause |= update_frame (f, 0, 0); |
| @@ -1157,8 +1155,7 @@ update: | |||
| 1157 | mini_window = FRAME_MINIBUF_WINDOW (selected_frame); | 1155 | mini_window = FRAME_MINIBUF_WINDOW (selected_frame); |
| 1158 | mini_frame = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); | 1156 | mini_frame = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); |
| 1159 | 1157 | ||
| 1160 | if (mini_frame != selected_frame | 1158 | if (mini_frame != selected_frame && FRAME_WINDOW_P (mini_frame)) |
| 1161 | && ! FRAME_TERMCAP_P (mini_frame) && ! FRAME_MSDOS_P (mini_frame)) | ||
| 1162 | pause |= update_frame (mini_frame, 0, 0); | 1159 | pause |= update_frame (mini_frame, 0, 0); |
| 1163 | } | 1160 | } |
| 1164 | } | 1161 | } |
| @@ -3729,7 +3726,7 @@ decode_mode_spec (w, c, spec_width, maxwidth) | |||
| 3729 | #ifdef MULTI_FRAME | 3726 | #ifdef MULTI_FRAME |
| 3730 | if (!NILP (f->title)) | 3727 | if (!NILP (f->title)) |
| 3731 | return (char *) XSTRING (f->title)->data; | 3728 | return (char *) XSTRING (f->title)->data; |
| 3732 | if (f->explicit_name || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) | 3729 | if (f->explicit_name || ! FRAME_WINDOW_P (f)) |
| 3733 | return (char *) XSTRING (f->name)->data; | 3730 | return (char *) XSTRING (f->name)->data; |
| 3734 | #endif | 3731 | #endif |
| 3735 | return "Emacs"; | 3732 | return "Emacs"; |