aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/display.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/display.texi')
-rw-r--r--lispref/display.texi16
1 files changed, 11 insertions, 5 deletions
diff --git a/lispref/display.texi b/lispref/display.texi
index 7b4db373f63..87520fb4d4f 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -1775,6 +1775,11 @@ This face forces use of a particular fixed-width font.
1775This face forces use of a particular variable-width font. It's 1775This face forces use of a particular variable-width font. It's
1776reasonable to customize this to use a different variable-width font, if 1776reasonable to customize this to use a different variable-width font, if
1777you like, but you should not make it a fixed-width font. 1777you like, but you should not make it a fixed-width font.
1778
1779@item shadow
1780@kindex shadow @r{(face name)}
1781This face is used for making the text less noticeable than the
1782surrounding ordinary text.
1778@end table 1783@end table
1779 1784
1780@defvar show-trailing-whitespace 1785@defvar show-trailing-whitespace
@@ -1790,14 +1795,15 @@ end of a line.
1790 The way to define a new face is with @code{defface}. This creates a 1795 The way to define a new face is with @code{defface}. This creates a
1791kind of customization item (@pxref{Customization}) which the user can 1796kind of customization item (@pxref{Customization}) which the user can
1792customize using the Customization buffer (@pxref{Easy Customization,,, 1797customize using the Customization buffer (@pxref{Easy Customization,,,
1793emacs, The GNU Emacs Manual}). 1798emacs, The GNU Emacs Manual}).
1794 1799
1795@defmac defface face spec doc [keyword value]... 1800@defmac defface face spec doc [keyword value]...
1796This declares @var{face} as a customizable face that defaults according 1801This declares @var{face} as a customizable face that defaults
1797to @var{spec}. You should not quote the symbol @var{face}. The 1802according to @var{spec}. You should not quote the symbol @var{face},
1803and it should not end in @samp{-face} (that would be redundant). The
1798argument @var{doc} specifies the face documentation. The keywords you 1804argument @var{doc} specifies the face documentation. The keywords you
1799can use in @code{defface} are the same ones that are meaningful in both 1805can use in @code{defface} are the same as in @code{defgroup} and
1800@code{defgroup} and @code{defcustom} (@pxref{Common Keywords}). 1806@code{defcustom} (@pxref{Common Keywords}).
1801 1807
1802When @code{defface} executes, it defines the face according to 1808When @code{defface} executes, it defines the face according to
1803@var{spec}, then uses any customizations that were read from the 1809@var{spec}, then uses any customizations that were read from the