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

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

[elpa] externals/rich-minority a50d9b2 13/20: Add an example to the read


From: Stefan Monnier
Subject: [elpa] externals/rich-minority a50d9b2 13/20: Add an example to the readme - Fix #19
Date: Mon, 15 Mar 2021 22:22:05 -0400 (EDT)

branch: externals/rich-minority
commit a50d9b2fd059f6a0e5b22063a5375851a087f61a
Author: Artur Malabarba <artur@endlessparentheses.com>
Commit: Artur Malabarba <artur@endlessparentheses.com>

    Add an example to the readme - Fix #19
---
 README.org | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.org b/README.org
index 4e89bea..308ca69 100644
--- a/README.org
+++ b/README.org
@@ -40,6 +40,15 @@ handles the minor-modes list. What can rich-minority /offer 
in contrast/?
 
 - rich-minority is more versatile:
   1. It accepts *regexps*, instead of having to specify each minor-mode 
individually;
+     That is, where in diminish.el you would do this:
+     #+begin_src emacs-lisp
+     (diminish 'auto-fill-function)
+     #+end_src
+     rich-minority does this:
+     #+BEGIN_SRC emacs-lisp
+     (add-to-list " Fill" 'rm-blacklist)
+     #+END_SRC
+     where ~" Fill"~ could be any regular expression.
   2. It also offers a *whitelist* behaviour, in addition to the blacklist;
   3. It supports *highlighting* specific minor-modes with completely arbitrary 
text properties.
 - rich-minority takes a cleaner, functional approach. It doesn’t hack



reply via email to

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