[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 4a73fb9: Fix description of %-constructs in 'mode-line-format'

From: Eli Zaretskii
Subject: emacs-27 4a73fb9: Fix description of %-constructs in 'mode-line-format'
Date: Sat, 29 Aug 2020 02:47:22 -0400 (EDT)

branch: emacs-27
commit 4a73fb966876ba8c8aefa24ee51448d2b44df1bf
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 e685391..e7049b4 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
 @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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]