diff options
author | Phil Sainty <psainty@orcon.net.nz> | 2022-08-14 23:16:48 +1200 |
---|---|---|
committer | Phil Sainty <psainty@orcon.net.nz> | 2023-03-27 00:33:06 +1300 |
commit | d4a3f64ad75444fa26f707aec5b642a900507a41 (patch) | |
tree | 08ea7ef3ea8146d09ca7110d530df434a7dafbb4 /doc/lispref | |
parent | 7466909df44e4030534988035da0c87b8126f79e (diff) | |
download | emacs-d4a3f64ad75444fa26f707aec5b642a900507a41.tar.gz |
* doc/lispref/modes.texi: Improve docs for obsolete '%m' construct
Bug #57080.
Diffstat (limited to 'doc/lispref')
-rw-r--r-- | doc/lispref/modes.texi | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 30baa7f4d80..42e02b20fa3 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2515,13 +2515,16 @@ 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}. +@subsubheading Obsolete @code{%}-Constructs + + The following constructs should no longer be used. @table @code @item %m -The value of @code{mode-name}. +Obsolete; use the @code{mode-name} variable instead. The @code{%m} +construct is inadequate, as it produces an empty string if the value +of @code{mode-name} is a non-string mode-line construct (as in +@code{emacs-lisp-mode}, for example). @end table @node Properties in Mode |