2523 |
differently from the default face. |
differently from the default face. |
2524 |
@end defun |
@end defun |
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 |
|
|
2537 |
@node Auto Faces |
@node Auto Faces |
2538 |
@subsection Automatic Face Assignment |
@subsection Automatic Face Assignment |
2539 |
@cindex automatic face assignment |
@cindex automatic face assignment |