diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-01-16 14:21:59 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-01-16 14:21:59 +0000 |
commit | d57b83b374b66a81ed214f84898dd8f96841f83b (patch) | |
tree | 98abc5bbe4d5cbe2368b392ac3db978e8028bdc2 /src/buffer.c | |
parent | 25c99c6d35f7d50888938c6a0fa6736d1c6bd003 (diff) | |
download | emacs-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.c | 5 |
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; } |