src/buffer.h, src/frame.h: Clarify doc of optimization variables.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 4 Apr 2014 16:59:50 +0000 (12:59 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 4 Apr 2014 16:59:50 +0000 (12:59 -0400)
src/buffer.h
src/frame.h

index d461415..de117eb 100644 (file)
@@ -847,8 +847,8 @@ struct buffer
   struct region_cache *width_run_cache;
   struct region_cache *bidi_paragraph_cache;
 
-  /* Non-zero means don't use redisplay optimizations for
-     displaying this buffer.  */
+  /* Non-zero means disable redisplay optimizations when rebuilding the glyph
+     matrices (but not when redrawing).  */
   bool_bf prevent_redisplay_optimizations_p : 1;
 
   /* Non-zero whenever the narrowing is changed in this buffer.  */
index 62dc335..ff696df 100644 (file)
@@ -375,7 +375,8 @@ struct frame
      set this directly, use SET_FRAME_ICONIFIED instead.  */
   bool_bf iconified : 1;
 
-  /* True if this frame should be redrawn.  */
+  /* True if this frame should be fully redisplayed.  Disables all
+     optimizations while rebuilding matrices and redrawing.  */
   bool_bf garbaged : 1;
 
   /* False means, if this frame has just one window,