diff src/dispnew.c @ 1766:be62942446f0

(Fredraw_display): Redraw all visible frames. Make the non-multi-frame version interactive.
author Richard M. Stallman <rms@gnu.org>
date Wed, 13 Jan 1993 05:17:34 +0000
parents a688543448e7
children 4edfaa19c7a7
line wrap: on
line diff
--- a/src/dispnew.c	Wed Jan 13 01:31:45 1993 +0000
+++ b/src/dispnew.c	Wed Jan 13 05:17:34 1993 +0000
@@ -165,7 +165,7 @@
 }
 
 DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, "",
-  "Redraw all frames marked as having their images garbled.")
+  "Clear and redisplay all visible frames."
   ()
 {
   Lisp_Object frame, tail;
@@ -173,7 +173,7 @@
   for (tail = Vframe_list; CONSP (tail); tail = XCONS (tail)->cdr)
     {
       frame = XCONS (tail)->car;
-      if (FRAME_GARBAGED_P (XFRAME (frame)) && FRAME_VISIBLE_P (XFRAME (frame)))
+      if (FRAME_VISIBLE_P (XFRAME (frame)))
 	Fredraw_frame (frame);
     }
   return Qnil;
@@ -189,7 +189,7 @@
 
 #else /* not MULTI_FRAME */
 
-DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, 0,
+DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, "",
   "Clear screen and output again what is supposed to appear on it.")
   ()
 {