Ensure redisplay using variable watcher
commitd3faef9baedadc9eaec46814ba9bbe5168048328
authorNoam Postavsky <npostavs@gmail.com>
Sat, 21 Nov 2015 22:02:42 +0000 (21 17:02 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 3 Dec 2016 01:25:15 +0000 (2 20:25 -0500)
treec6669ac6e10bf90e925472c50eda8cc57c793572
parentcfd2b9eae17754c0e109961f2880f05012a4891d
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.
lisp/frame.el
src/data.c
src/window.h
src/xdisp.c