Mercurial > emacs
changeset 63659:ce9e9d1055bf
(Face Functions): Mention face aliases.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 22 Jun 2005 14:16:33 +0000 |
parents | 35913598e5b7 |
children | 47c90f7c23df |
files | lispref/display.texi |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/display.texi Wed Jun 22 13:55:32 2005 +0000 +++ b/lispref/display.texi Wed Jun 22 14:16:33 2005 +0000 @@ -2523,6 +2523,17 @@ 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