aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/display.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/lispref/display.texi b/lispref/display.texi
index 2243a1e6899..6af7b8f19cd 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -2523,6 +2523,17 @@ This returns non-@code{nil} if the face @var{face} displays
2523differently from the default face. 2523differently from the default face.
2524@end defun 2524@end defun
2525 2525
2526@cindex face alias
2527A @dfn{face alias} provides an equivalent name for a face. You can
2528define a face alias by giving the alias symbol the @code{face-alias}
2529property, with a value of the target face name. The following example
2530makes @code{modeline} an alias for the @code{mode-line} face.
2531
2532@example
2533(put 'modeline 'face-alias 'mode-line)
2534@end example
2535
2536
2526@node Auto Faces 2537@node Auto Faces
2527@subsection Automatic Face Assignment 2538@subsection Automatic Face Assignment
2528@cindex automatic face assignment 2539@cindex automatic face assignment