emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/etc/NEWS,v [EMACS_22_BASE]


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/etc/NEWS,v [EMACS_22_BASE]
Date: Mon, 03 Mar 2008 03:27:08 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Glenn Morris <gm>       08/03/03 03:27:08

Index: NEWS
===================================================================
RCS file: /sources/emacs/emacs/etc/NEWS,v
retrieving revision 1.1465.2.64
retrieving revision 1.1465.2.65
diff -u -b -r1.1465.2.64 -r1.1465.2.65
--- NEWS        1 Mar 2008 20:30:51 -0000       1.1465.2.64
+++ NEWS        3 Mar 2008 03:27:06 -0000       1.1465.2.65
@@ -138,12 +138,9 @@
 They can easily be emulated.  Rather than calling `make-variable-frame-local'
 and accessing the variable value directly, explicitly check for a
 frame-parameter, and if there is one, use its value in preference to
-that of the variable. Eg:
-(let ((fp (assoc 'var (frame-parameters))))
-  ;; Use frame-parameter, even if nil.
-  (if fp (cdr fp)
-     ;; Else use normal variable value.
-     var))
+that of the variable.  Note that buffer-local values should take
+preference over frame-local ones, so you may wish to check `local-variable-p'
+first.
 
 ** The function invisible-p returns non-nil if the character
 after a specified position is invisible.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]