summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-12-25 12:14:48 +0200
committerEli Zaretskii <eliz@gnu.org>2010-12-25 12:14:48 +0200
commit2e4ab211536225c719bb80df716f4e9481bce243 (patch)
treec987bab54c723ad6ae19caca15f24fd2a736b441 /doc
parent8258ae3f5ab8c96821eaa283530c5c01c38e565d (diff)
downloademacs-2e4ab211536225c719bb80df716f4e9481bce243.tar.gz
More fallout from fixing bug #7587.
src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only the basic faces are supported. doc/lispref/modes.texi (Emulating Mode Line): Fix last change. etc/NEWS: Remove the entry about format-mode-line accepting only basic faces.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/modes.texi23
2 files changed, 13 insertions, 14 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 30e77ab38af..155e6b005e4 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-25 Eli Zaretskii <eliz@gnu.org>
+
+ * modes.texi (Emulating Mode Line): Fix last change.
+
2010-12-18 Eli Zaretskii <eliz@gnu.org>
* modes.texi (Emulating Mode Line): Update documentation of
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 5c5e6cd3fbb..ad7a3a5037e 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -2119,22 +2119,17 @@ taken from @var{buffer}; by default, it comes from @var{window}'s
buffer.
The value string normally has text properties that correspond to the
-faces, keymaps, etc., that the mode line would have. And any character
-for which no @code{face} property is specified gets a default value
-determined by @var{face}. If @var{face} is @code{t}, that stands for
-either @code{mode-line} if @var{window} is selected, otherwise
-@code{mode-line-inactive}. If @var{face} is @code{nil} or omitted, that
-stands for no face property.
-
-However, if @var{face} is an integer, the value has no text properties.
+faces, keymaps, etc., that the mode line would have. Any character for
+which no @code{face} property is specified by @var{format} gets a
+default value determined by @var{face}. If @var{face} is @code{t}, that
+stands for either @code{mode-line} if @var{window} is selected,
+otherwise @code{mode-line-inactive}. If @var{face} is @code{nil} or
+omitted, that stands for the default face. If @var{face} is an integer,
+the value returned by this function will have no text properties.
You can also specify other valid faces as the value of @var{face}.
-If the value is a @dfn{basic face}, one of @code{default}, @code{mode-line},
-@code{mode-line-inactive}, @code{header-line}, or @code{tool-bar}, that
-face provides the @code{face} property for characters whose face is not
-specified by @var{format}. Any other face is treated as @code{default},
-but you can remap one of the basic faces (@pxref{Face Remapping}) to get
-the same effect as with non-basic faces.
+If specified, that face provides the @code{face} property for characters
+whose face is not specified by @var{format}.
Note that using @code{mode-line}, @code{mode-line-inactive}, or
@code{header-line} as @var{face} will actually redisplay the mode line