mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
(Face Functions): Mention face aliases.
This commit is contained in:
parent
a1ef2eabbf
commit
31c8b366fd
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue