emacs: make hide-minor-modes interactive
This commit is contained in:
parent
8a278967be
commit
3c8a686777
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
"Modes which lighters are hidden by `hide-minor-modes'.")
|
||||
(defun hide-minor-modes ()
|
||||
"Disable lighter for every mode in `hidden-minor-modes'."
|
||||
(interactive)
|
||||
(dolist (mode hidden-minor-modes)
|
||||
(let ((lighter (cdr (assoc mode minor-mode-alist))))
|
||||
(when lighter (setcar lighter "")))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue