emacs-diffs
[Top][All Lists]
Advanced

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

scratch/bulk-tracing b1c896225c 1/4: * doc/lispref/modes.texi: Docs for


From: Phil Sainty
Subject: scratch/bulk-tracing b1c896225c 1/4: * doc/lispref/modes.texi: Docs for obsolete '%m' in mode-line-format
Date: Fri, 12 Aug 2022 08:53:55 -0400 (EDT)

branch: scratch/bulk-tracing
commit b1c896225ca7797f8757bb8e1f5b75608a65648a
Author: Phil Sainty <psainty@orcon.net.nz>
Commit: Phil Sainty <psainty@orcon.net.nz>

    * doc/lispref/modes.texi: Docs for obsolete '%m' in mode-line-format
---
 doc/lispref/modes.texi | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index e94093318f..ad2b175afb 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -2507,15 +2507,13 @@ Dashes sufficient to fill the remainder of the mode 
line.
 @item %%
 The character @samp{%}---this is how to include a literal @samp{%} in a
 string in which @code{%}-constructs are allowed.
-@end table
-
-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}.
+Obsolete; use the @code{mode-name} variable instead.  The @code{%m}
+construct is still supported, but it is inadequate, as it produces an
+empty string if the value of the @code{mode-name} variable is a
+non-string mode-line construct (for example, in
+@code{emacs-lisp-mode}).
 @end table
 
 @node Properties in Mode



reply via email to

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