aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1991-07-15 13:34:04 +0000
committerJim Blandy1991-07-15 13:34:04 +0000
commit9c74a0dd25800566a4afdecd0d61d073dee47b05 (patch)
tree91d52d4b9b8445f9de1c82b30a98f6e916de757d
parent52b14ac064d4613ead76fc962bda213a659bb140 (diff)
downloademacs-9c74a0dd25800566a4afdecd0d61d073dee47b05.tar.gz
emacs-9c74a0dd25800566a4afdecd0d61d073dee47b05.zip
*** empty log message ***
-rw-r--r--src/xdisp.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 3c38060f905..40c9c9c1ded 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -188,8 +188,13 @@ DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, "",
188 188
189#endif /* not MULTI_SCREEN */ 189#endif /* not MULTI_SCREEN */
190 190
191/* Buffer used for messages formatted by `message'. */
191char *message_buf; 192char *message_buf;
192 193
194/* Nonzero if message_buf is being used by print;
195 zero if being used by message. */
196int message_buf_print;
197
193/* dump an informative message to the minibuf */ 198/* dump an informative message to the minibuf */
194/* VARARGS 1 */ 199/* VARARGS 1 */
195 200
@@ -222,6 +227,11 @@ message (m, a1, a2, a3)
222#endif /* NO_ARG_ARRAY */ 227#endif /* NO_ARG_ARRAY */
223 228
224 echo_area_glyphs = SCREEN_MESSAGE_BUF (selected_screen); 229 echo_area_glyphs = SCREEN_MESSAGE_BUF (selected_screen);
230
231 /* Print should start at the beginning of the message
232 buffer next time. */
233 message_buf_print = 0;
234
225 do_pending_window_change (); 235 do_pending_window_change ();
226 echo_area_display (); 236 echo_area_display ();
227 update_screen (XSCREEN (XWINDOW (minibuf_window)->screen), 1, 1); 237 update_screen (XSCREEN (XWINDOW (minibuf_window)->screen), 1, 1);
@@ -234,9 +244,6 @@ void
234message1 (m) 244message1 (m)
235 char *m; 245 char *m;
236{ 246{
237 if (!NULL (Vwindow_system) && SCREEN_IS_TERMCAP (selected_screen))
238 return;
239
240 if (noninteractive) 247 if (noninteractive)
241 { 248 {
242 if (noninteractive_need_newline) 249 if (noninteractive_need_newline)