[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/NEWS.22,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/etc/NEWS.22,v |
Date: |
Mon, 03 Mar 2008 03:27:16 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 08/03/03 03:27:16
Index: NEWS.22
===================================================================
RCS file: /sources/emacs/emacs/etc/NEWS.22,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- NEWS.22 1 Mar 2008 20:31:09 -0000 1.36
+++ NEWS.22 3 Mar 2008 03:27:16 -0000 1.37
@@ -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.
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v, Glenn Morris, 2008/03/01
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v,
Glenn Morris <=
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v, Glenn Morris, 2008/03/02
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v, Miles Bader, 2008/03/09
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v, Glenn Morris, 2008/03/12
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v, Glenn Morris, 2008/03/14
- [Emacs-diffs] Changes to emacs/etc/NEWS.22,v, Glenn Morris, 2008/03/14