diff options
| author | Luc Teirlinck | 2005-06-26 00:05:46 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-06-26 00:05:46 +0000 |
| commit | c3bf675dd1caa64c514dcac38e2d21c64597f9ff (patch) | |
| tree | 405a7e93b2b9f130d318f0cc98c68bb65c24c58c | |
| parent | 33b79ce4aed877f0185f20d4fc35f229d0048de1 (diff) | |
| download | emacs-c3bf675dd1caa64c514dcac38e2d21c64597f9ff.tar.gz emacs-c3bf675dd1caa64c514dcac38e2d21c64597f9ff.zip | |
(Faces): `facep' returns t for strings that are face names.
| -rw-r--r-- | lispref/display.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index aa3284ad0e4..fe0797f1a1c 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -1628,12 +1628,12 @@ particular parts of the text or the frame. | |||
| 1628 | @cindex face id | 1628 | @cindex face id |
| 1629 | Each face has its own @dfn{face number}, which distinguishes faces at | 1629 | Each face has its own @dfn{face number}, which distinguishes faces at |
| 1630 | low levels within Emacs. However, for most purposes, you refer to | 1630 | low levels within Emacs. However, for most purposes, you refer to |
| 1631 | faces in Lisp programs by their names. | 1631 | faces in Lisp programs by the symbol that names them. |
| 1632 | 1632 | ||
| 1633 | @defun facep object | 1633 | @defun facep object |
| 1634 | This function returns @code{t} if @var{object} is a face name symbol (or | 1634 | This function returns @code{t} if @var{object} is a face name string |
| 1635 | if it is a vector of the kind used internally to record face data). It | 1635 | or symbol (or if it is a vector of the kind used internally to record |
| 1636 | returns @code{nil} otherwise. | 1636 | face data). It returns @code{nil} otherwise. |
| 1637 | @end defun | 1637 | @end defun |
| 1638 | 1638 | ||
| 1639 | Each face name is meaningful for all frames, and by default it has the | 1639 | Each face name is meaningful for all frames, and by default it has the |
| @@ -1795,7 +1795,7 @@ end of a line. | |||
| 1795 | 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 |
| 1796 | kind of customization item (@pxref{Customization}) which the user can | 1796 | kind of customization item (@pxref{Customization}) which the user can |
| 1797 | customize using the Customization buffer (@pxref{Easy Customization,,, | 1797 | customize using the Customization buffer (@pxref{Easy Customization,,, |
| 1798 | emacs, The GNU Emacs Manual}). | 1798 | emacs, The GNU Emacs Manual}). |
| 1799 | 1799 | ||
| 1800 | @defmac defface face spec doc [keyword value]... | 1800 | @defmac defface face spec doc [keyword value]... |
| 1801 | This declares @var{face} as a customizable face that defaults | 1801 | This declares @var{face} as a customizable face that defaults |