From d57b83b374b66a81ed214f84898dd8f96841f83b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 16 Jan 2001 14:21:59 +0000 Subject: [PATCH] (Fset_buffer_modified_p): Set buffer's prevent_redisplay_optimizations_p flag. --- src/ChangeLog | 3 +++ src/buffer.c | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2130b169cda..7ace1db772e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-01-16 Gerd Moellmann + * buffer.c (Fset_buffer_modified_p): Set buffer's + prevent_redisplay_optimizations_p flag. + * dispnew.c, callproc.c, fns.c, keyboard.c, process.c, sunfns.c, * sysdep.c, vmsproc.c, xselect.c: Call redisplay_preserve_echo_area with additional arg. 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; } -- 2.39.5