]> git.earman.xyz Git - emacsinit.git/commitdiff
Replace diminish with minions
authorrush <rearman@r717.net>
Tue, 23 Jun 2026 18:43:39 +0000 (14:43 -0400)
committerrush <rearman@r717.net>
Tue, 23 Jun 2026 19:34:05 +0000 (15:34 -0400)
No minor modes in the modeline at all, AND the menu actually shows all the
active and available minor modes.

config.org

index 14fe5c3166e181653488005550f9dfc1db0364e8..b7f08776228184f627230c1f32910e1127782b24 100644 (file)
@@ -49,7 +49,7 @@ Set up the correct lexical binding to avoid screaming compiler
     trashed\r
     org-transclusion\r
     vc-jj\r
-    diminish))\r
+    minions))\r
 \r
 (dolist (pkg *re/packages*)\r
   (unless (package-installed-p pkg)\r
@@ -426,16 +426,13 @@ Shows the trash file as a dired buffer
                                    (:maildir "/Trash" :key ?t)\r
                                    (:maildir "/Drafts" :key ?d)))))\r
 #+END_SRC\r
-** Diminish\r
+** Minions\r
+Remove all minor modes from the mode-line, and show /all/ of them in the minor mode menu\r
 #+BEGIN_SRC emacs-lisp\r
-(require 'diminish)\r
+(require 'minions)\r
 \r
-(defvar *re/diminished-modes*\r
-  '(page-break-lines-mode eldoc-mode)\r
-  "List of modes I want to never see in the modeline")\r
-\r
-(dolist (mode *re/diminished-modes*)\r
-  (diminish mode))\r
+(setq minions-mode-line-lighter "|+")\r
+(minions-mode 1)\r
 #+END_SRC\r
 * Load libraries\r
 Libraries Not from the package manager\r