Subject: Re: bug#19224: 24.4; elisp manual mode-line example mode-line-mode-name

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 03 Aug 2019 15:00:55 +0200

Kevin Ryde <[email-masked]> 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