summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2015-11-21 17:02:42 -0500
committerNoam Postavsky <npostavs@gmail.com>2016-12-02 20:25:15 -0500
commitd3faef9baedadc9eaec46814ba9bbe5168048328 (patch)
treec6669ac6e10bf90e925472c50eda8cc57c793572 /src/window.h
parentcfd2b9eae17754c0e109961f2880f05012a4891d (diff)
downloademacs-d3faef9baedadc9eaec46814ba9bbe5168048328.tar.gz
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);
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 maybe_set_redisplay (Lisp_Object);
/* 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. */