summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-07-10 01:05:49 +0000
committerRichard M. Stallman <rms@gnu.org>2007-07-10 01:05:49 +0000
commit2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e (patch)
treead4ec97d1dd3ecaae14848b9b32a953d1f6c760f
parent25c185dfe362957f9045602fa9644b0b554c6626 (diff)
downloademacs-2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e.tar.gz
(Defining Faces): Explain C-M-x feature for defface.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/display.texi5
2 files changed, 9 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 39f35d78ac4..0bd727f0748 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -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.
diff --git a/lispref/display.texi b/lispref/display.texi
index f644a02c2eb..8cf25110308 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -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