1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(Face Functions): Mention define-obsolete-face-alias.

This commit is contained in:
Glenn Morris 2009-09-01 02:54:16 +00:00
parent 1e0020ec79
commit e7e2f529e4
2 changed files with 10 additions and 0 deletions

View file

@ -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.

View file

@ -2629,6 +2629,12 @@ makes @code{modeline} an alias for the @code{mode-line} face.
(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