; * lisp/frame.el: Enhance add-variable-watcher commentary.
This commit is contained in:
parent
572e34bb6f
commit
06b35b2f92
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue