]> git.eshelyaron.com Git - emacs.git/commitdiff
Make watchers dumpable.
authorKen Raeburn <raeburn@raeburn.org>
Tue, 11 Apr 2017 05:17:57 +0000 (01:17 -0400)
committerKen Raeburn <raeburn@raeburn.org>
Sat, 22 Jul 2017 08:36:22 +0000 (04:36 -0400)
* lisp/frame.el: Set variable watchers to set-buffer-redisplay, not to
its subr value.

lisp/frame.el

index 634367edf456c5ce1d9988ecab0663ac089278e1..99d9159be9e60837d5cbba4e344977a2ef2cb1d3 100644 (file)
@@ -2469,7 +2469,7 @@ See also `toggle-frame-maximized'."
 ;; F5 then produces the correct effect, the variable doesn't need
 ;; to be in this list; otherwise, it does.
 (mapc (lambda (var)
-        (add-variable-watcher var (symbol-function 'set-buffer-redisplay)))
+        (add-variable-watcher var 'set-buffer-redisplay))
       '(line-spacing
         overline-margin
         line-prefix