aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/modes.texi13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index e685391c955..e7049b4741b 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -2335,6 +2335,10 @@ read-only buffer. @xref{Buffer Modification}.
2335@item %& 2335@item %&
2336@samp{*} if the buffer is modified, and @samp{-} otherwise. 2336@samp{*} if the buffer is modified, and @samp{-} otherwise.
2337 2337
2338@item %@@
2339@samp{@@} if the buffer's @code{default-directory} (@pxref{File Name
2340Expansion}) is on a remote machine, and @samp{-} otherwise.
2341
2338@item %[ 2342@item %[
2339An indication of the depth of recursive editing levels (not counting 2343An indication of the depth of recursive editing levels (not counting
2340minibuffer levels): one @samp{[} for each editing level. 2344minibuffer levels): one @samp{[} for each editing level.
@@ -2352,16 +2356,13 @@ The character @samp{%}---this is how to include a literal @samp{%} in a
2352string in which @code{%}-constructs are allowed. 2356string in which @code{%}-constructs are allowed.
2353@end table 2357@end table
2354 2358
2355The following two @code{%}-constructs are still supported, but they are 2359The following @code{%}-construct is still supported, but it is
2356obsolete, since you can get the same results with the variables 2360obsolete, since you can get the same result using the variable
2357@code{mode-name} and @code{global-mode-string}. 2361@code{mode-name}.
2358 2362
2359@table @code 2363@table @code
2360@item %m 2364@item %m
2361The value of @code{mode-name}. 2365The value of @code{mode-name}.
2362
2363@item %M
2364The value of @code{global-mode-string}.
2365@end table 2366@end table
2366 2367
2367@node Properties in Mode 2368@node Properties in Mode