Formatting change
[bpt/emacs.git] / src / dispnew.c
index 4a34e14..ea1f644 100644 (file)
@@ -112,7 +112,12 @@ FRAME_PTR selected_frame;
 FRAME_PTR last_nonminibuf_frame;
 
 /* In a single-frame version, the information that would otherwise
-   exist inside frame objects lives in the following structure instead.  */
+   exist inside frame objects lives in the following structure instead.
+
+   NOTE: the_only_frame is not checked for garbage collection; don't
+   store collectable objects in any of its fields!
+
+   You're not/The only frame in town/...  */
 
 #ifndef MULTI_FRAME
 struct frame the_only_frame;
@@ -196,7 +201,7 @@ DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, 0,
   windows_or_buffers_changed++;
   /* Mark all windows as INaccurate,
      so that every window will have its redisplay done.  */
-  mark_window_display_accurate (XWINDOW (minibuf_window)->prev, 0);
+  mark_window_display_accurate (FRAME_ROOT_WINDOW (0));
   return Qnil;
 }