How do you list the active minor modes in emacs?

Viewed 30589

How do you list the active minor modes in emacs?

6 Answers

If you just want to know if a particular minor mode (say, evil-mode) is active in the buffer, you could evaluate the following:

(when (member 'evil-mode minor-mode-list)
   (message "`evil-mode' is active!"))
Related