aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2022-07-18 15:31:26 +0300
committerEli Zaretskii2022-07-18 15:31:26 +0300
commit8f9993bb3f6aa52a3f3e5f1a0744e48ade6a30d6 (patch)
tree5b960d5d7bd119ef5ae4800415746ab6e1276eb4 /src/buffer.c
parentf5218385c064aa959650bfe49ca32795270851eb (diff)
downloademacs-8f9993bb3f6aa52a3f3e5f1a0744e48ade6a30d6.tar.gz
emacs-8f9993bb3f6aa52a3f3e5f1a0744e48ade6a30d6.zip
; * src/buffer.c (syms_of_buffer) <mode-line-format>: Doc fix.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 321bc88ed2c..560bdf8753b 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5580,7 +5580,7 @@ the mode line appears at the bottom. */);
5580 5580
5581 DEFVAR_PER_BUFFER ("mode-line-format", &BVAR (current_buffer, mode_line_format), 5581 DEFVAR_PER_BUFFER ("mode-line-format", &BVAR (current_buffer, mode_line_format),
5582 Qnil, 5582 Qnil,
5583 doc: /* Template for displaying mode line for current buffer. 5583 doc: /* Template for displaying mode line for a window's buffer.
5584 5584
5585The value may be nil, a string, a symbol or a list. 5585The value may be nil, a string, a symbol or a list.
5586 5586
@@ -5593,6 +5593,9 @@ For any symbol other than t or nil, the symbol's value is processed as
5593 `risky-local-variable' property, all properties in any strings, as 5593 `risky-local-variable' property, all properties in any strings, as
5594 well as all :eval and :propertize forms in the value, are ignored. 5594 well as all :eval and :propertize forms in the value, are ignored.
5595 5595
5596When the value is processed, the window's buffer is temporarily the
5597current buffer.
5598
5596A list whose car is a string or list is processed by processing each 5599A list whose car is a string or list is processed by processing each
5597 of the list elements recursively, as separate mode line constructs, 5600 of the list elements recursively, as separate mode line constructs,
5598 and concatenating the results. 5601 and concatenating the results.