1628 |
@cindex face id |
@cindex face id |
1629 |
Each face has its own @dfn{face number}, which distinguishes faces at |
Each face has its own @dfn{face number}, which distinguishes faces at |
1630 |
low levels within Emacs. However, for most purposes, you refer to |
low levels within Emacs. However, for most purposes, you refer to |
1631 |
faces in Lisp programs by their names. |
faces in Lisp programs by the symbol that names them. |
1632 |
|
|
1633 |
@defun facep object |
@defun facep object |
1634 |
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 |
1635 |
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 |
1636 |
returns @code{nil} otherwise. |
face data). It returns @code{nil} otherwise. |
1637 |
@end defun |
@end defun |
1638 |
|
|
1639 |
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 |
1795 |
The way to define a new face is with @code{defface}. This creates a |
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 |
kind of customization item (@pxref{Customization}) which the user can |
1797 |
customize using the Customization buffer (@pxref{Easy Customization,,, |
customize using the Customization buffer (@pxref{Easy Customization,,, |
1798 |
emacs, The GNU Emacs Manual}). |
emacs, The GNU Emacs Manual}). |
1799 |
|
|
1800 |
@defmac defface face spec doc [keyword value]... |
@defmac defface face spec doc [keyword value]... |
1801 |
This declares @var{face} as a customizable face that defaults |
This declares @var{face} as a customizable face that defaults |