diff options
author | Noam Postavsky <npostavs@gmail.com> | 2019-06-25 18:57:30 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-06-25 18:58:23 -0400 |
commit | 06b35b2f922150a11d6b4b5c68a40e9957a69e52 (patch) | |
tree | 0ef0fb569024c25a0bcce7f0edd7b3e7b45af8ac /lisp/frame.el | |
parent | 572e34bb6fcbbbde2325b679fef64ee26e78ce8a (diff) | |
download | emacs-06b35b2f922150a11d6b4b5c68a40e9957a69e52.tar.gz emacs-06b35b2f922150a11d6b4b5c68a40e9957a69e52.tar.bz2 emacs-06b35b2f922150a11d6b4b5c68a40e9957a69e52.zip |
; * lisp/frame.el: Enhance add-variable-watcher commentary.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 4 |
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 |