aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Kangas2022-07-19 06:30:56 +0200
committerStefan Kangas2022-07-19 06:30:56 +0200
commit4b807380cf756796ce197ac58cbbbe381c157a91 (patch)
treef2789d7b6690d62e2cb76d0c7a6900acdcb3e1c8 /src/buffer.c
parent393a3eef260479f83d162c8550ee179ee0faf923 (diff)
parent282dde887db163b25b31fba3bf10a80f2b93203c (diff)
downloademacs-4b807380cf756796ce197ac58cbbbe381c157a91.tar.gz
emacs-4b807380cf756796ce197ac58cbbbe381c157a91.zip
Merge from origin/emacs-28
282dde887d ; Fix typo missed in previous change 62c47ffd5f ; * lisp/net/tramp-crypt.el: Improve commentary cba30431ff Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/e... 8f9993bb3f ; * src/buffer.c (syms_of_buffer) <mode-line-format>: Doc ... fec4bb89f9 ; Fix typos (Bug#56550)
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 e5fa09a9789..4994a310438 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5610,7 +5610,7 @@ used. */);
5610 5610
5611 DEFVAR_PER_BUFFER ("mode-line-format", &BVAR (current_buffer, mode_line_format), 5611 DEFVAR_PER_BUFFER ("mode-line-format", &BVAR (current_buffer, mode_line_format),
5612 Qnil, 5612 Qnil,
5613 doc: /* Template for displaying mode line for current buffer. 5613 doc: /* Template for displaying mode line for a window's buffer.
5614 5614
5615The value may be nil, a string, a symbol or a list. 5615The value may be nil, a string, a symbol or a list.
5616 5616
@@ -5623,6 +5623,9 @@ For any symbol other than t or nil, the symbol's value is processed as
5623 `risky-local-variable' property, all properties in any strings, as 5623 `risky-local-variable' property, all properties in any strings, as
5624 well as all :eval and :propertize forms in the value, are ignored. 5624 well as all :eval and :propertize forms in the value, are ignored.
5625 5625
5626When the value is processed, the window's buffer is temporarily the
5627current buffer.
5628
5626A list whose car is a string or list is processed by processing each 5629A list whose car is a string or list is processed by processing each
5627 of the list elements recursively, as separate mode line constructs, 5630 of the list elements recursively, as separate mode line constructs,
5628 and concatenating the results. 5631 and concatenating the results.