[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d5941d8: Fix my two most common causes of all windows/frames redi
From: |
Stefan Monnier |
Subject: |
master d5941d8: Fix my two most common causes of all windows/frames redisplay |
Date: |
Thu, 17 Dec 2020 11:57:23 -0500 (EST) |
branch: master
commit d5941d8396a6bbe67bb06c339af008a5f688c73e
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
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.
---
src/buffer.c | 2 +-
src/window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/buffer.c b/src/buffer.c
index 4215acb..dfc34fa 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2814,7 +2814,7 @@ the normal hook `change-major-mode-hook'. */)
/* Force mode-line redisplay. Useful here because all major mode
commands call this function. */
- update_mode_lines = 12;
+ bset_update_mode_line (current_buffer);
return Qnil;
}
diff --git a/src/window.c b/src/window.c
index 4eab786..bcc989b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -7822,7 +7822,7 @@ set_window_scroll_bars (struct window *w, Lisp_Object
width,
if more than a single window needs to be considered, see
redisplay_internal. */
if (changed)
- windows_or_buffers_changed = 31;
+ wset_redisplay (w);
return changed ? w : NULL;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d5941d8: Fix my two most common causes of all windows/frames redisplay,
Stefan Monnier <=