changeset 331:c1f8ba0ea512

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Mon, 15 Jul 1991 13:34:04 +0000
parents 9b1e9b496441
children 3cb8418b827a
files src/xdisp.c
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Jul 15 11:14:59 1991 +0000
+++ b/src/xdisp.c	Mon Jul 15 13:34:04 1991 +0000
@@ -188,8 +188,13 @@
 
 #endif /* not MULTI_SCREEN */
 
+/* Buffer used for messages formatted by `message'.  */
 char *message_buf;
 
+/* Nonzero if message_buf is being used by print;
+   zero if being used by message.  */
+int message_buf_print;
+
 /* dump an informative message to the minibuf */
 /* VARARGS 1 */
 
@@ -222,6 +227,11 @@
 #endif /* NO_ARG_ARRAY */
 
       echo_area_glyphs = SCREEN_MESSAGE_BUF (selected_screen);
+
+      /* Print should start at the beginning of the message
+	 buffer next time.  */
+      message_buf_print = 0;
+
       do_pending_window_change ();
       echo_area_display ();
       update_screen (XSCREEN (XWINDOW (minibuf_window)->screen), 1, 1);
@@ -234,9 +244,6 @@
 message1 (m)
      char *m;
 {
-  if (!NULL (Vwindow_system) && SCREEN_IS_TERMCAP (selected_screen))
-    return;
-
   if (noninteractive)
     {
       if (noninteractive_need_newline)