diff options
| -rw-r--r-- | lispref/display.texi | 11 |
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 | |||
| 2523 | differently from the default face. | 2523 | differently from the default face. |
| 2524 | @end defun | 2524 | @end defun |
| 2525 | 2525 | ||
| 2526 | @cindex face alias | ||
| 2527 | A @dfn{face alias} provides an equivalent name for a face. You can | ||
| 2528 | define a face alias by giving the alias symbol the @code{face-alias} | ||
| 2529 | property, with a value of the target face name. The following example | ||
| 2530 | makes @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 |