aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5971c479658..141db1fd2eb 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -138,12 +138,9 @@ because they clash with commands provided by dirtrack.el. Use
138They can easily be emulated. Rather than calling `make-variable-frame-local' 138They can easily be emulated. Rather than calling `make-variable-frame-local'
139and accessing the variable value directly, explicitly check for a 139and accessing the variable value directly, explicitly check for a
140frame-parameter, and if there is one, use its value in preference to 140frame-parameter, and if there is one, use its value in preference to
141that of the variable. Eg: 141that of the variable. Note that buffer-local values should take
142(let ((fp (assoc 'var (frame-parameters)))) 142preference over frame-local ones, so you may wish to check `local-variable-p'
143 ;; Use frame-parameter, even if nil. 143first.
144 (if fp (cdr fp)
145 ;; Else use normal variable value.
146 var))
147 144
148** The function invisible-p returns non-nil if the character 145** The function invisible-p returns non-nil if the character
149after a specified position is invisible. 146after a specified position is invisible.