aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier2020-12-17 11:53:56 -0500
committerStefan Monnier2020-12-17 11:53:56 -0500
commitd5941d8396a6bbe67bb06c339af008a5f688c73e (patch)
tree517eedca8a4c49d63cb07a0d67a28e3430e14df8 /src/buffer.c
parent02c4f65a1ea5d55a569a559bb181c6df5171319b (diff)
downloademacs-d5941d8396a6bbe67bb06c339af008a5f688c73e.tar.gz
emacs-d5941d8396a6bbe67bb06c339af008a5f688c73e.zip
Fix my two most common causes of all windows/frames redisplay
* src/buffer.c (Fkill_all_local_variables): Only redisplay the buffer. * src/window.c (set_window_scroll_bars): Only redisplay the window.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4215acbf1df..dfc34faf6e6 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2814,7 +2814,7 @@ the normal hook `change-major-mode-hook'. */)
2814 2814
2815 /* Force mode-line redisplay. Useful here because all major mode 2815 /* Force mode-line redisplay. Useful here because all major mode
2816 commands call this function. */ 2816 commands call this function. */
2817 update_mode_lines = 12; 2817 bset_update_mode_line (current_buffer);
2818 2818
2819 return Qnil; 2819 return Qnil;
2820} 2820}