From: Noam Postavsky Date: Tue, 25 Jun 2019 22:57:30 +0000 (-0400) Subject: ; * lisp/frame.el: Enhance add-variable-watcher commentary. X-Git-Tag: emacs-26.3~68 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06b35b2f92;p=emacs.git ; * lisp/frame.el: Enhance add-variable-watcher commentary. --- 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