aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2010-12-25 12:14:48 +0200
committerEli Zaretskii2010-12-25 12:14:48 +0200
commit2e4ab211536225c719bb80df716f4e9481bce243 (patch)
treec987bab54c723ad6ae19caca15f24fd2a736b441 /src
parent8258ae3f5ab8c96821eaa283530c5c01c38e565d (diff)
downloademacs-2e4ab211536225c719bb80df716f4e9481bce243.tar.gz
emacs-2e4ab211536225c719bb80df716f4e9481bce243.zip
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 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c12
2 files changed, 12 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8574622c187..673f5f5bb99 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-12-25 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
4 the basic faces are supported.
5
12010-12-24 Jan Djärv <jan.h.d@swipnet.se> 62010-12-24 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * xterm.c (x_check_fullscreen): Fix pixel/character mixup. 8 * xterm.c (x_check_fullscreen): Fix pixel/character mixup.
diff --git a/src/xdisp.c b/src/xdisp.c
index 7308e163c7e..69a0fcfe3d8 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -17883,17 +17883,19 @@ DEFUN ("format-mode-line", Fformat_mode_line, Sformat_mode_line,
17883First arg FORMAT specifies the mode line format (see `mode-line-format' 17883First arg FORMAT specifies the mode line format (see `mode-line-format'
17884for details) to use. 17884for details) to use.
17885 17885
17886By default, the format is evaluated for the currently selected window.
17887
17886Optional second arg FACE specifies the face property to put on all 17888Optional second arg FACE specifies the face property to put on all
17887characters for which no face is specified. The value nil means the 17889characters for which no face is specified. The value nil means the
17888default face. The value t means whatever face the window's mode line 17890default face. The value t means whatever face the window's mode line
17889currently uses \(either `mode-line' or `mode-line-inactive', 17891currently uses (either `mode-line' or `mode-line-inactive',
17890depending). An integer value means the value string has no text 17892depending on whether the window is the selected window or not).
17891properties. Otherwise, the value should be one of `default', 17893An integer value means the value string has no text
17892`mode-line', `mode-line-inactive', `header-line', or `tool-bar'. 17894properties.
17893 17895
17894Optional third and fourth args WINDOW and BUFFER specify the window 17896Optional third and fourth args WINDOW and BUFFER specify the window
17895and buffer to use as the context for the formatting (defaults 17897and buffer to use as the context for the formatting (defaults
17896are the selected window and the window's buffer). */) 17898are the selected window and the WINDOW's buffer). */)
17897 (format, face, window, buffer) 17899 (format, face, window, buffer)
17898 Lisp_Object format, face, window, buffer; 17900 Lisp_Object format, face, window, buffer;
17899{ 17901{