Mercurial > emacs
diff doc/lispref/display.texi @ 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 | caa79498564a |
children | 43be71d128b2 |
line wrap: on
line diff
--- 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