summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <Malabarba@users.noreply.github.com>2017-10-11 22:18:34 -0300
committerGitHub <noreply@github.com>2017-10-11 22:18:34 -0300
commit7902a2e40e049e150f7eaced53181bfb01525e60 (patch)
treec798dd5bf8491c13c0c83f77bd3f7983cfed1369
parent333e4669f76a0fb68b433117d377711e418a525e (diff)
parent8dbc001cb0643eaf124fe9b2037b7e2282e785a7 (diff)
Merge pull request #16 from sten0/master
Add examples to documentation
-rw-r--r--README.org24
1 files changed, 23 insertions, 1 deletions
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