]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/frame.el: Enhance add-variable-watcher commentary.
authorNoam Postavsky <npostavs@gmail.com>
Tue, 25 Jun 2019 22:57:30 +0000 (18:57 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Tue, 25 Jun 2019 22:58:23 +0000 (18:58 -0400)
lisp/frame.el

index 30f6ca91ba60b836084ac8b7d8d2c44058fe824e..6dc726696850811bde44c4fd19079568e0c257c7 100644 (file)
@@ -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