diff options
Diffstat (limited to 'lispref/display.texi')
| -rw-r--r-- | lispref/display.texi | 16 |
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. | |||
| 1775 | This face forces use of a particular variable-width font. It's | 1775 | This face forces use of a particular variable-width font. It's |
| 1776 | reasonable to customize this to use a different variable-width font, if | 1776 | reasonable to customize this to use a different variable-width font, if |
| 1777 | you like, but you should not make it a fixed-width font. | 1777 | you like, but you should not make it a fixed-width font. |
| 1778 | |||
| 1779 | @item shadow | ||
| 1780 | @kindex shadow @r{(face name)} | ||
| 1781 | This face is used for making the text less noticeable than the | ||
| 1782 | surrounding 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 |
| 1791 | kind of customization item (@pxref{Customization}) which the user can | 1796 | kind of customization item (@pxref{Customization}) which the user can |
| 1792 | customize using the Customization buffer (@pxref{Easy Customization,,, | 1797 | customize using the Customization buffer (@pxref{Easy Customization,,, |
| 1793 | emacs, The GNU Emacs Manual}). | 1798 | emacs, The GNU Emacs Manual}). |
| 1794 | 1799 | ||
| 1795 | @defmac defface face spec doc [keyword value]... | 1800 | @defmac defface face spec doc [keyword value]... |
| 1796 | This declares @var{face} as a customizable face that defaults according | 1801 | This declares @var{face} as a customizable face that defaults |
| 1797 | to @var{spec}. You should not quote the symbol @var{face}. The | 1802 | according to @var{spec}. You should not quote the symbol @var{face}, |
| 1803 | and it should not end in @samp{-face} (that would be redundant). The | ||
| 1798 | argument @var{doc} specifies the face documentation. The keywords you | 1804 | argument @var{doc} specifies the face documentation. The keywords you |
| 1799 | can use in @code{defface} are the same ones that are meaningful in both | 1805 | can 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 | ||
| 1802 | When @code{defface} executes, it defines the face according to | 1808 | When @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 |