branch: externals/rich-minority
commit 8dbc001cb0643eaf124fe9b2037b7e2282e785a7
Author: Nicholas D Steeves <[email protected]>
Commit: Nicholas D Steeves <[email protected]>

    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