1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

(Defining Faces): Explain C-M-x feature for defface.

This commit is contained in:
Richard M. Stallman 2007-07-10 01:05:49 +00:00
parent 25c185dfe3
commit 2b6b226cf6
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-07-10 Richard Stallman <rms@gnu.org>
* display.texi (Defining Faces): Explain C-M-x feature for defface.
2007-06-24 Karl Berry <karl@tug.org>
* elisp.texi, vol1.texi, vol2.texi: new Back-Cover Text.

View File

@ -1760,6 +1760,11 @@ When @code{defface} executes, it defines the face according to
@var{spec}, then uses any customizations that were read from the
init file (@pxref{Init File}) to override that specification.
When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs
Lisp mode (@code{eval-defun}), a special feature of @code{eval-defun}
overrides any customizations of the face. This way, the face reflects
exactly what the @code{defcustom} says.
The purpose of @var{spec} is to specify how the face should appear on
different kinds of terminals. It should be an alist whose elements
have the form @code{(@var{display} @var{atts})}. Each element's