diff options
| author | Eli Zaretskii | 2010-12-25 12:14:48 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-12-25 12:14:48 +0200 |
| commit | 2e4ab211536225c719bb80df716f4e9481bce243 (patch) | |
| tree | c987bab54c723ad6ae19caca15f24fd2a736b441 /src | |
| parent | 8258ae3f5ab8c96821eaa283530c5c01c38e565d (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 12 |
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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-12-24 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2010-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, | |||
| 17883 | First arg FORMAT specifies the mode line format (see `mode-line-format' | 17883 | First arg FORMAT specifies the mode line format (see `mode-line-format' |
| 17884 | for details) to use. | 17884 | for details) to use. |
| 17885 | 17885 | ||
| 17886 | By default, the format is evaluated for the currently selected window. | ||
| 17887 | |||
| 17886 | Optional second arg FACE specifies the face property to put on all | 17888 | Optional second arg FACE specifies the face property to put on all |
| 17887 | characters for which no face is specified. The value nil means the | 17889 | characters for which no face is specified. The value nil means the |
| 17888 | default face. The value t means whatever face the window's mode line | 17890 | default face. The value t means whatever face the window's mode line |
| 17889 | currently uses \(either `mode-line' or `mode-line-inactive', | 17891 | currently uses (either `mode-line' or `mode-line-inactive', |
| 17890 | depending). An integer value means the value string has no text | 17892 | depending on whether the window is the selected window or not). |
| 17891 | properties. Otherwise, the value should be one of `default', | 17893 | An integer value means the value string has no text |
| 17892 | `mode-line', `mode-line-inactive', `header-line', or `tool-bar'. | 17894 | properties. |
| 17893 | 17895 | ||
| 17894 | Optional third and fourth args WINDOW and BUFFER specify the window | 17896 | Optional third and fourth args WINDOW and BUFFER specify the window |
| 17895 | and buffer to use as the context for the formatting (defaults | 17897 | and buffer to use as the context for the formatting (defaults |
| 17896 | are the selected window and the window's buffer). */) | 17898 | are 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 | { |