From 9d560af6c1b4f73f970b86a07af57c57ccd7c463 Mon Sep 17 00:00:00 2001 From: rush Date: Tue, 23 Jun 2026 14:43:39 -0400 Subject: [PATCH] Replace diminish with minions No minor modes in the modeline at all, AND the menu actually shows all the active and available minor modes. --- config.org | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/config.org b/config.org index 14fe5c3..b7f0877 100644 --- a/config.org +++ b/config.org @@ -49,7 +49,7 @@ Set up the correct lexical binding to avoid screaming compiler trashed org-transclusion vc-jj - diminish)) + minions)) (dolist (pkg *re/packages*) (unless (package-installed-p pkg) @@ -426,16 +426,13 @@ Shows the trash file as a dired buffer (:maildir "/Trash" :key ?t) (:maildir "/Drafts" :key ?d))))) #+END_SRC -** Diminish +** Minions +Remove all minor modes from the mode-line, and show /all/ of them in the minor mode menu #+BEGIN_SRC emacs-lisp -(require 'diminish) +(require 'minions) -(defvar *re/diminished-modes* - '(page-break-lines-mode eldoc-mode) - "List of modes I want to never see in the modeline") - -(dolist (mode *re/diminished-modes*) - (diminish mode)) +(setq minions-mode-line-lighter "|+") +(minions-mode 1) #+END_SRC * Load libraries Libraries Not from the package manager -- 2.39.5