diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-04-13 23:55:47 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-04-13 23:55:47 -0400 |
commit | 844b8949a71f180d395a237c768b22d91cf91ded (patch) | |
tree | 336a7fb79a67d1729a456c837dffa6406eda375e /src/window.h | |
parent | 839a9e74e0263f4e75a0c34df39c2e0a57c49438 (diff) | |
download | emacs-844b8949a71f180d395a237c768b22d91cf91ded.tar.gz |
* src/xdisp.c (wset_update_mode_line): Move from `src/window.c`
Move that function next to its siblings. Also simplify it, since
after careful analysis it is now clear that the frame's title's update
is already handled elsewhere (in `prepare_menu_bars` and `redisplay_window`)
so we just need to make sure the `redisplay` bit is set.
* src/window.c (wset_update_mode_line): Move to `src/xdisp.c`.
* src/window.h (wset_update_mode_line): Declare.
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h index b6f88e8f55f..2400c422c15 100644 --- a/src/window.h +++ b/src/window.h @@ -1141,6 +1141,7 @@ extern void wset_redisplay (struct window *w); extern void fset_redisplay (struct frame *f); extern void bset_redisplay (struct buffer *b); extern void bset_update_mode_line (struct buffer *b); +extern void wset_update_mode_line (struct window *w); /* Call this to tell redisplay to look for other windows than selected-window that need to be redisplayed. Calling one of the *set_redisplay functions above already does it, so it's only needed in unusual cases. */ |