aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-07-10 01:05:49 +0000
committerRichard M. Stallman2007-07-10 01:05:49 +0000
commit2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e (patch)
treead4ec97d1dd3ecaae14848b9b32a953d1f6c760f
parent25c185dfe362957f9045602fa9644b0b554c6626 (diff)
downloademacs-2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e.tar.gz
emacs-2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e.zip
(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 @@
12007-07-10 Richard Stallman <rms@gnu.org>
2
3 * display.texi (Defining Faces): Explain C-M-x feature for defface.
4
12007-06-24 Karl Berry <karl@tug.org> 52007-06-24 Karl Berry <karl@tug.org>
2 6
3 * elisp.texi, vol1.texi, vol2.texi: new Back-Cover Text. 7 * 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
1760@var{spec}, then uses any customizations that were read from the 1760@var{spec}, then uses any customizations that were read from the
1761init file (@pxref{Init File}) to override that specification. 1761init file (@pxref{Init File}) to override that specification.
1762 1762
1763When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs
1764Lisp mode (@code{eval-defun}), a special feature of @code{eval-defun}
1765overrides any customizations of the face. This way, the face reflects
1766exactly what the @code{defcustom} says.
1767
1763The purpose of @var{spec} is to specify how the face should appear on 1768The purpose of @var{spec} is to specify how the face should appear on
1764different kinds of terminals. It should be an alist whose elements 1769different kinds of terminals. It should be an alist whose elements
1765have the form @code{(@var{display} @var{atts})}. Each element's 1770have the form @code{(@var{display} @var{atts})}. Each element's