GNU bug report logs - #19224
24.4; elisp manual mode-line example mode-line-mode-name

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Sun, 30 Nov 2014 08:27:02 UTC

Severity: minor

Tags: fixed

Found in version 24.4

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Cc: 19224 <at> debbugs.gnu.org
Subject: bug#19224: 24.4; elisp manual mode-line example mode-line-mode-name
Date: Sat, 03 Aug 2019 15:00:55 +0200
Kevin Ryde <user42_kevin <at> yahoo.com.au> writes:

> In the elisp manual node "Mode Line Top", the example setting of
> `mode-line' shows
>
>     '(:eval (mode-line-mode-name))
>
> But function mode-line-mode-name doesn't seem to exist.
>
> I know it's only an example, but it could be good if it worked as well
> as illustrating the mode line features.

Indeed.  I've now changed the :eval example into

:eval (format-time-string "%F")

since there didn't seem to be any appropriate mode-line-* functions to
use here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.