Mercurial > emacs
changeset 78094:7cec7ea0f05d
(Defining Faces): Explain C-M-x feature for defface.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 10 Jul 2007 01:05:12 +0000 |
parents | f8928e94b6fd |
children | 921bc039bcac |
files | lispref/display.texi |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/display.texi Mon Jul 09 14:46:56 2007 +0000 +++ b/lispref/display.texi Tue Jul 10 01:05:12 2007 +0000 @@ -1760,6 +1760,11 @@ @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