From: rush Date: Tue, 23 Jun 2026 18:43:39 +0000 (-0400) Subject: Replace diminish with minions X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=9d560af6c1b4f73f970b86a07af57c57ccd7c463;p=emacsinit.git Replace diminish with minions No minor modes in the modeline at all, AND the menu actually shows all the active and available minor modes. --- 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