Fix description of %-constructs in 'mode-line-format'
* doc/lispref/modes.texi (%-Constructs): Document %@ and remove %M, which is no longer supported. (Bug#43092)
This commit is contained in:
parent
df5c669709
commit
4a73fb9668
1 changed files with 7 additions and 6 deletions
|
@ -2335,6 +2335,10 @@ read-only buffer. @xref{Buffer Modification}.
|
|||
@item %&
|
||||
@samp{*} if the buffer is modified, and @samp{-} otherwise.
|
||||
|
||||
@item %@@
|
||||
@samp{@@} if the buffer's @code{default-directory} (@pxref{File Name
|
||||
Expansion}) is on a remote machine, and @samp{-} otherwise.
|
||||
|
||||
@item %[
|
||||
An indication of the depth of recursive editing levels (not counting
|
||||
minibuffer levels): one @samp{[} for each editing level.
|
||||
|
@ -2352,16 +2356,13 @@ The character @samp{%}---this is how to include a literal @samp{%} in a
|
|||
string in which @code{%}-constructs are allowed.
|
||||
@end table
|
||||
|
||||
The following two @code{%}-constructs are still supported, but they are
|
||||
obsolete, since you can get the same results with the variables
|
||||
@code{mode-name} and @code{global-mode-string}.
|
||||
The following @code{%}-construct is still supported, but it is
|
||||
obsolete, since you can get the same result using the variable
|
||||
@code{mode-name}.
|
||||
|
||||
@table @code
|
||||
@item %m
|
||||
The value of @code{mode-name}.
|
||||
|
||||
@item %M
|
||||
The value of @code{global-mode-string}.
|
||||
@end table
|
||||
|
||||
@node Properties in Mode
|
||||
|
|
Loading…
Add table
Reference in a new issue