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

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

bug#30978: 25.3; Suggestion: define-minor-mode should define mode-lighte


From: Howard Melman
Subject: bug#30978: 25.3; Suggestion: define-minor-mode should define mode-lighter variable
Date: Wed, 28 Jul 2021 15:10:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> It's already pretty easy to just alter the lighters -- just say:
>
> (setcar (cdr (assoc 'foo-mode minor-mode-alist)) "whatever")

Maybe include an example of disabling a lighter in the elisp
manual (where minor-mode-alist is mentioned).  E.g.,

    (setcar (cdr (assoc 'eldoc-mode minor-mode-alist)) "")

I realize this is "pretty easy" lisp but it's not a simple
setq and I think non-lispers might want to do this.

-- 

Howard






reply via email to

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