summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-01-16 14:21:59 +0000
committerGerd Moellmann <gerd@gnu.org>2001-01-16 14:21:59 +0000
commitd57b83b374b66a81ed214f84898dd8f96841f83b (patch)
tree98abc5bbe4d5cbe2368b392ac3db978e8028bdc2 /src/buffer.c
parent25c99c6d35f7d50888938c6a0fa6736d1c6bd003 (diff)
downloademacs-d57b83b374b66a81ed214f84898dd8f96841f83b.tar.gz
(Fset_buffer_modified_p): Set buffer's
prevent_redisplay_optimizations_p flag.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index e3f769ab41b..f019863e80b 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -894,7 +894,10 @@ A non-nil FLAG means mark the buffer modified.")
XSETBUFFER (buffer, current_buffer);
window = Fget_buffer_window (buffer, Qt);
if (WINDOWP (window))
- update_mode_lines++;
+ {
+ ++update_mode_lines;
+ current_buffer->prevent_redisplay_optimizations_p = 1;
+ }
return flag;
}