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

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 20 Sep 2020 00:34:02 +0200

Michael Heerdegen <[email-masked]> writes:

> Lars Ingebrigtsen <[email-masked]> 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