aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKim F. Storm2002-11-14 11:44:16 +0000
committerKim F. Storm2002-11-14 11:44:16 +0000
commited4632553c0d767e7e0a4cadad60129ff993f359 (patch)
tree26a38554a44cacbd98d73fa12c9646ee7c5252d5 /src/buffer.c
parent58a7e98de01f295ce8877e0f8c53f06d26983383 (diff)
downloademacs-ed4632553c0d767e7e0a4cadad60129ff993f359.tar.gz
emacs-ed4632553c0d767e7e0a4cadad60129ff993f359.zip
(syms_of_buffer) <mode-line-format>: Document symbol
dependency on `risky-local-variable' and the :propertize form.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 3aa03fc32de..25264806dc6 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5259,8 +5259,13 @@ A value of nil means don't display a mode line.
5259For a symbol, its value is used (but it is ignored if t or nil). 5259For a symbol, its value is used (but it is ignored if t or nil).
5260 A string appearing directly as the value of a symbol is processed verbatim 5260 A string appearing directly as the value of a symbol is processed verbatim
5261 in that the %-constructs below are not recognized. 5261 in that the %-constructs below are not recognized.
5262 Note that unless the symbol is marked as a `risky-local-variable', all
5263 properties in any strings, as well as all :eval and :propertize forms
5264 in the value of that symbol will be ignored.
5262For a list of the form `(:eval FORM)', FORM is evaluated and the result 5265For a list of the form `(:eval FORM)', FORM is evaluated and the result
5263 is used as a mode line element. 5266 is used as a mode line element.
5267For a list of the form `(:propertize ELT PROPS...)', ELT is displayed
5268 with the specified properties PROPS applied.
5264For a list whose car is a symbol, the symbol's value is taken, 5269For a list whose car is a symbol, the symbol's value is taken,
5265 and if that is non-nil, the cadr of the list is processed recursively. 5270 and if that is non-nil, the cadr of the list is processed recursively.
5266 Otherwise, the caddr of the list (if there is one) is processed. 5271 Otherwise, the caddr of the list (if there is one) is processed.