From: rush Date: Tue, 23 Jun 2026 14:39:23 +0000 (-0400) Subject: Add diminish mode, set variable for list of modes X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=903fc2768f3ab3c4541a833f620a94f4163d3e13;p=emacsinit.git Add diminish mode, set variable for list of modes --- diff --git a/config.org b/config.org index 00ee73d..14fe5c3 100644 --- a/config.org +++ b/config.org @@ -48,7 +48,8 @@ Set up the correct lexical binding to avoid screaming compiler forth-mode trashed org-transclusion - vc-jj)) + vc-jj + diminish)) (dolist (pkg *re/packages*) (unless (package-installed-p pkg) @@ -425,6 +426,17 @@ Shows the trash file as a dired buffer (:maildir "/Trash" :key ?t) (:maildir "/Drafts" :key ?d))))) #+END_SRC +** Diminish +#+BEGIN_SRC emacs-lisp +(require 'diminish) + +(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)) +#+END_SRC * Load libraries Libraries Not from the package manager #+BEGIN_SRC emacs-lisp