summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-04-04 12:59:50 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-04-04 12:59:50 -0400
commit114d739befb17f62f8927d6dfeb334cfca394671 (patch)
tree2f66f6446ad436f2ea4c7e427331b59a5a9c8408
parent11a9c72fafaa02ef26708da6ffe765a7fdaa4565 (diff)
downloademacs-114d739befb17f62f8927d6dfeb334cfca394671.tar.gz
src/buffer.h, src/frame.h: Clarify doc of optimization variables.
-rw-r--r--src/buffer.h4
-rw-r--r--src/frame.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h
index d461415e036..de117eb9c61 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -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. */
diff --git a/src/frame.h b/src/frame.h
index 62dc33511b5..ff696df9eff 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -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,