diff options
| author | Noam Postavsky | 2015-11-21 17:02:42 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2016-12-02 20:25:15 -0500 |
| commit | d3faef9baedadc9eaec46814ba9bbe5168048328 (patch) | |
| tree | c6669ac6e10bf90e925472c50eda8cc57c793572 /src/window.h | |
| parent | cfd2b9eae17754c0e109961f2880f05012a4891d (diff) | |
| download | emacs-d3faef9baedadc9eaec46814ba9bbe5168048328.tar.gz emacs-d3faef9baedadc9eaec46814ba9bbe5168048328.zip | |
Ensure redisplay using variable watcher
This replaces looking up the variable name in redisplay--variables when
setting it.
* lisp/frame.el: Replace redisplay--variables with add-variable-watcher
calls.
* src/xdisp.c (Fset_buffer_redisplay): Rename from maybe_set_redisplay,
set the redisplay flag unconditionally.
(Vredisplay__variables): Remove it.
* src/data.c (set_internal): Remove maybe_set_redisplay call.
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h index a124b3311d0..4a102f2246e 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -1063,7 +1063,6 @@ extern void wset_redisplay (struct window *w); | |||
| 1063 | extern void fset_redisplay (struct frame *f); | 1063 | extern void fset_redisplay (struct frame *f); |
| 1064 | extern void bset_redisplay (struct buffer *b); | 1064 | extern void bset_redisplay (struct buffer *b); |
| 1065 | extern void bset_update_mode_line (struct buffer *b); | 1065 | extern void bset_update_mode_line (struct buffer *b); |
| 1066 | extern void maybe_set_redisplay (Lisp_Object); | ||
| 1067 | /* Call this to tell redisplay to look for other windows than selected-window | 1066 | /* Call this to tell redisplay to look for other windows than selected-window |
| 1068 | that need to be redisplayed. Calling one of the *set_redisplay functions | 1067 | that need to be redisplayed. Calling one of the *set_redisplay functions |
| 1069 | above already does it, so it's only needed in unusual cases. */ | 1068 | above already does it, so it's only needed in unusual cases. */ |