[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57080: 28.1; The %m modeline construct does not work for emacs-lisp-
From: |
Phil Sainty |
Subject: |
bug#57080: 28.1; The %m modeline construct does not work for emacs-lisp-mode |
Date: |
Wed, 10 Aug 2022 12:23:05 +1200 |
User-agent: |
Orcon Webmail |
On 2022-08-10 05:06, Eli Zaretskii wrote:
From: diredwolf <diredwolf1@gmail.com>
Thank you very much for your explanation, using mode-name instead of
%m fixed the problem.
Thanks, I'm therefore closing the bug.
I think some documentation updates are needed here?
In my month-old build from master, at any rate:
(info "(elisp) %-Constructs") states that ‘%m’ and ‘mode-name’
are equivalent, which is evidentially wrong.
Tangentially, (info "(elisp) Mode Line Variables") makes mention
of %M as being an obsolete version of ‘global-mode-string’, and
the %M construct is not listed in that other node at all (and
conversely, 'mode-name' is mentioned in the latter node without
any reference to %m.)