bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Lars Ingebrigtsen
Subject: bug#19224: 24.4; elisp manual mode-line example mode-line-mode-name
Date: Sat, 03 Aug 2019 15:00:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Kevin Ryde <address@hidden> 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





reply via email to

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