changeset 104766:b5e40c2f5b4d

(Face Functions): Mention define-obsolete-face-alias.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Sep 2009 02:54:16 +0000
parents a1561ebb9019
children 8d8d06eea864
files doc/lispref/ChangeLog doc/lispref/display.texi
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/ChangeLog	Mon Aug 31 18:11:43 2009 +0000
+++ b/doc/lispref/ChangeLog	Tue Sep 01 02:54:16 2009 +0000
@@ -1,3 +1,7 @@
+2009-09-01  Glenn Morris  <rgm@gnu.org>
+
+	* display.texi (Face Functions): Mention define-obsolete-face-alias.
+
 2009-08-26  Ulrich Mueller  <ulm@gentoo.org>
 
 	* nonascii.texi (Character Codes): Fix typos.
--- a/doc/lispref/display.texi	Mon Aug 31 18:11:43 2009 +0000
+++ b/doc/lispref/display.texi	Tue Sep 01 02:54:16 2009 +0000
@@ -2629,6 +2629,12 @@
 (put 'modeline 'face-alias 'mode-line)
 @end example
 
+@defun define-obsolete-face-alias obsolete-face current-face &optional when
+This function defines a face alias and marks it as obsolete, indicating
+that it may be removed in future.  The optional string @var{when}
+indicates when the face was made obsolete (for example, a release number).
+@end defun
+
 @node Auto Faces
 @subsection Automatic Face Assignment
 @cindex automatic face assignment