1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-06 08:54:05 +00:00

(Face Functions): Mention face aliases.

This commit is contained in:
Glenn Morris 2005-06-22 14:16:33 +00:00
parent a1ef2eabbf
commit 31c8b366fd

View File

@ -2523,6 +2523,17 @@ This returns non-@code{nil} if the face @var{face} displays
differently from the default face.
@end defun
@cindex face alias
A @dfn{face alias} provides an equivalent name for a face. You can
define a face alias by giving the alias symbol the @code{face-alias}
property, with a value of the target face name. The following example
makes @code{modeline} an alias for the @code{mode-line} face.
@example
(put 'modeline 'face-alias 'mode-line)
@end example
@node Auto Faces
@subsection Automatic Face Assignment
@cindex automatic face assignment