summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h
index d1a3e50d7cf..d26f91b5b06 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -475,7 +475,10 @@ struct buffer_text
/* Usually 0. Temporarily set to 1 in decode_coding_gap to
prevent Fgarbage_collect from shrinking the gap and losing
not-yet-decoded bytes. */
- bool inhibit_shrinking;
+ bool inhibit_shrinking : 1;
+
+ /* True if it needs to be redisplayed. */
+ bool redisplay : 1;
};
/* Most code should use this macro to access Lisp fields in struct buffer. */
@@ -846,10 +849,10 @@ struct buffer
/* Non-zero means don't use redisplay optimizations for
displaying this buffer. */
- unsigned prevent_redisplay_optimizations_p : 1;
+ bool prevent_redisplay_optimizations_p : 1;
/* Non-zero whenever the narrowing is changed in this buffer. */
- unsigned clip_changed : 1;
+ bool clip_changed : 1;
/* List of overlays that end at or before the current center,
in order of end-position. */