From 4a73fb966876ba8c8aefa24ee51448d2b44df1bf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 29 Aug 2020 09:45:51 +0300 Subject: [PATCH] Fix description of %-constructs in 'mode-line-format' * doc/lispref/modes.texi (%-Constructs): Document %@ and remove %M, which is no longer supported. (Bug#43092) --- doc/lispref/modes.texi | 13 +++++++------ 1 file 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}. @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 -- 2.39.2