aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-06-26 00:05:46 +0000
committerLuc Teirlinck2005-06-26 00:05:46 +0000
commitc3bf675dd1caa64c514dcac38e2d21c64597f9ff (patch)
tree405a7e93b2b9f130d318f0cc98c68bb65c24c58c
parent33b79ce4aed877f0185f20d4fc35f229d0048de1 (diff)
downloademacs-c3bf675dd1caa64c514dcac38e2d21c64597f9ff.tar.gz
emacs-c3bf675dd1caa64c514dcac38e2d21c64597f9ff.zip
(Faces): `facep' returns t for strings that are face names.
-rw-r--r--lispref/display.texi10
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
1629Each face has its own @dfn{face number}, which distinguishes faces at 1629Each face has its own @dfn{face number}, which distinguishes faces at
1630low levels within Emacs. However, for most purposes, you refer to 1630low levels within Emacs. However, for most purposes, you refer to
1631faces in Lisp programs by their names. 1631faces in Lisp programs by the symbol that names them.
1632 1632
1633@defun facep object 1633@defun facep object
1634This function returns @code{t} if @var{object} is a face name symbol (or 1634This function returns @code{t} if @var{object} is a face name string
1635if it is a vector of the kind used internally to record face data). It 1635or symbol (or if it is a vector of the kind used internally to record
1636returns @code{nil} otherwise. 1636face data). It returns @code{nil} otherwise.
1637@end defun 1637@end defun
1638 1638
1639Each face name is meaningful for all frames, and by default it has the 1639Each 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
1796kind of customization item (@pxref{Customization}) which the user can 1796kind of customization item (@pxref{Customization}) which the user can
1797customize using the Customization buffer (@pxref{Easy Customization,,, 1797customize using the Customization buffer (@pxref{Easy Customization,,,
1798emacs, The GNU Emacs Manual}). 1798emacs, The GNU Emacs Manual}).
1799 1799
1800@defmac defface face spec doc [keyword value]... 1800@defmac defface face spec doc [keyword value]...
1801This declares @var{face} as a customizable face that defaults 1801This declares @var{face} as a customizable face that defaults