Skip to content

Commit

Permalink
minions--prominent-modes: Use minor-mode-list
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Feb 25, 2023
1 parent 35573eb commit 7a12d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minions.el
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ Otherwise the entry can only be used to toggle the mode."

(defun minions--prominent-modes ()
(cl-remove-if-not (lambda (mode)
(memq (car mode) minions-prominent-modes))
minor-mode-alist))
(memq mode minions-prominent-modes))
minor-mode-list))

(defun minions--modes ()
(let (local global)
Expand Down

0 comments on commit 7a12d3e

Please sign in to comment.