Commit c3bf675d authored by Luc Teirlinck's avatar Luc Teirlinck
Browse files

(Faces): `facep' returns t for strings that are face names.

parent 33b79ce4
...@@ -1628,12 +1628,12 @@ particular parts of the text or the frame. ...@@ -1628,12 +1628,12 @@ particular parts of the text or the frame.
@cindex face id @cindex face id
Each face has its own @dfn{face number}, which distinguishes faces at Each face has its own @dfn{face number}, which distinguishes faces at
low levels within Emacs. However, for most purposes, you refer to low levels within Emacs. However, for most purposes, you refer to
faces in Lisp programs by their names. faces in Lisp programs by the symbol that names them.
@defun facep object @defun facep object
This function returns @code{t} if @var{object} is a face name symbol (or This function returns @code{t} if @var{object} is a face name string
if it is a vector of the kind used internally to record face data). It or symbol (or if it is a vector of the kind used internally to record
returns @code{nil} otherwise. face data). It returns @code{nil} otherwise.
@end defun @end defun
Each face name is meaningful for all frames, and by default it has the Each face name is meaningful for all frames, and by default it has the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment