emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/rich-minority 8dbc001 08/20: Add "Blacklist all minor m


From: Stefan Monnier
Subject: [elpa] externals/rich-minority 8dbc001 08/20: Add "Blacklist all minor modes" example
Date: Mon, 15 Mar 2021 22:22:03 -0400 (EDT)

branch: externals/rich-minority
commit 8dbc001cb0643eaf124fe9b2037b7e2282e785a7
Author: Nicholas D Steeves <nsteeves@gmail.com>
Commit: Nicholas D Steeves <nsteeves@gmail.com>

    Add "Blacklist all minor modes" example
---
 README.org | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.org b/README.org
index 3c4dd3c..fecb57f 100644
--- a/README.org
+++ b/README.org
@@ -33,6 +33,16 @@ three variables:
                         "Undo-Tree")
                         "\\|")))
 #+end_src
+     If for some reason all minor modes are not hidden when rich-minority
+     is activated, try the following:
+#+begin_src emacs-lisp
+;; Blacklist all minor modes
+(setq rm-blacklist
+      (format "^ \\(%s\\)$"
+          (mapconcat #'identity
+                      '(".*")
+                        "\\|")))
+#+end_src
 - ~rm-whitelist~ :: List of minor mode names that are allowed on
      the minor-modes list. Use this to hide *all but* a few modes.
 - ~rm-text-properties~ :: List text properties to apply to each



reply via email to

[Prev in Thread] Current Thread [Next in Thread]