summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2019-06-25 18:57:30 -0400
committerNoam Postavsky <npostavs@gmail.com>2019-06-25 18:58:23 -0400
commit06b35b2f922150a11d6b4b5c68a40e9957a69e52 (patch)
tree0ef0fb569024c25a0bcce7f0edd7b3e7b45af8ac /lisp
parent572e34bb6fcbbbde2325b679fef64ee26e78ce8a (diff)
downloademacs-06b35b2f922150a11d6b4b5c68a40e9957a69e52.tar.gz
; * lisp/frame.el: Enhance add-variable-watcher commentary.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/frame.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index 30f6ca91ba6..6dc72669685 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -2489,7 +2489,9 @@ See also `toggle-frame-maximized'."
(mapc (lambda (var)
;; Using symbol-function here tells the watcher machinery to
;; call the C function set-buffer-redisplay directly, thus
- ;; avoiding a potential GC.
+ ;; avoiding a potential GC. This isn't strictly necessary,
+ ;; but it's a nice way to exercise the direct subr-calling
+ ;; machinery.
(add-variable-watcher var (symbol-function 'set-buffer-redisplay)))
'(line-spacing
overline-margin