From: Luc Teirlinck Date: Sun, 26 Jun 2005 00:05:46 +0000 (+0000) Subject: (Faces): `facep' returns t for strings that are face names. X-Git-Tag: emacs-pretest-22.0.90~8632 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3bf675dd1caa64c514dcac38e2d21c64597f9ff;p=emacs.git (Faces): `facep' returns t for strings that are face names. --- 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. @cindex face id Each face has its own @dfn{face number}, which distinguishes faces at 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 -This function returns @code{t} if @var{object} is a face name symbol (or -if it is a vector of the kind used internally to record face data). It -returns @code{nil} otherwise. +This function returns @code{t} if @var{object} is a face name string +or symbol (or if it is a vector of the kind used internally to record +face data). It returns @code{nil} otherwise. @end defun Each face name is meaningful for all frames, and by default it has the @@ -1795,7 +1795,7 @@ end of a line. The way to define a new face is with @code{defface}. This creates a kind of customization item (@pxref{Customization}) which the user can customize using the Customization buffer (@pxref{Easy Customization,,, -emacs, The GNU Emacs Manual}). +emacs, The GNU Emacs Manual}). @defmac defface face spec doc [keyword value]... This declares @var{face} as a customizable face that defaults