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

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

[elpa] externals/rich-minority 7902a2e 11/20: Merge pull request #16 fro


From: Stefan Monnier
Subject: [elpa] externals/rich-minority 7902a2e 11/20: Merge pull request #16 from sten0/master
Date: Mon, 15 Mar 2021 22:22:04 -0400 (EDT)

branch: externals/rich-minority
commit 7902a2e40e049e150f7eaced53181bfb01525e60
Merge: 333e466 8dbc001
Author: Artur Malabarba <Malabarba@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #16 from sten0/master
    
    Add examples to documentation
---
 README.org | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 4410ee6..5d8b522 100644
--- a/README.org
+++ b/README.org
@@ -20,7 +20,29 @@ three variables:
 
 - ~rm-blacklist~ :: List of minor mode names that will be hidden
      from the minor-modes list. Use this to hide *only* a few modes that
-     are always active and don’t really contribute information.
+     are always active and don’t really contribute information. eg:
+#+begin_src emacs-lisp
+(setq rm-blacklist
+      (format "^ \\(%s\\)$"
+          (mapconcat #'identity
+                      '("Fly.*"
+                        "Projectile.*"
+                        "my-keys-mode"
+                        "PgLn"
+                        "company"
+                        "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]