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/data.c | |
| 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/data.c')
| -rw-r--r-- | src/data.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c index 095b740c1b2..81846b5dcbc 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -1275,8 +1275,6 @@ set_internal (Lisp_Object symbol, Lisp_Object newval, Lisp_Object where, | |||
| 1275 | default: emacs_abort (); | 1275 | default: emacs_abort (); |
| 1276 | } | 1276 | } |
| 1277 | 1277 | ||
| 1278 | maybe_set_redisplay (symbol); | ||
| 1279 | |||
| 1280 | start: | 1278 | start: |
| 1281 | switch (sym->redirect) | 1279 | switch (sym->redirect) |
| 1282 | { | 1280 | { |