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

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

bug#14957: 24.3.50; Flyspell language visible in mode line


From: Lars Ingebrigtsen
Subject: bug#14957: 24.3.50; Flyspell language visible in mode line
Date: Sun, 20 Sep 2020 00:34:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> +              local-map (keymap
>> +                         (mode-line keymap
>> +                                    (mouse-1 . 
>> ispell-change-dictionary))))))
>>
>> Which is kinda hacky, but...
>
> I guess you could use a symbol alternatively - or just define the whole
> lighter expression as a `defvar' instead?  That might also make further
> changes easier.

Oh, yeah, that should work -- define-minor-mode uses the form after
:lighter verbatim, but a single-symbol value is also valid (i.e., it's
used as a variable).

-- 
(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]