aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorNoam Postavsky2015-11-21 17:02:42 -0500
committerNoam Postavsky2016-12-02 20:25:15 -0500
commitd3faef9baedadc9eaec46814ba9bbe5168048328 (patch)
treec6669ac6e10bf90e925472c50eda8cc57c793572 /src/window.h
parentcfd2b9eae17754c0e109961f2880f05012a4891d (diff)
downloademacs-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.h1
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);
1063extern void fset_redisplay (struct frame *f); 1063extern void fset_redisplay (struct frame *f);
1064extern void bset_redisplay (struct buffer *b); 1064extern void bset_redisplay (struct buffer *b);
1065extern void bset_update_mode_line (struct buffer *b); 1065extern void bset_update_mode_line (struct buffer *b);
1066extern 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. */