summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-08-22 04:19:35 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-08-22 04:20:38 +0100
commitf9359de5fab0326325b8294aa9af81bb680fe5e0 (patch)
treef8d13ed3deb3d79dd0f4ed65adaa23379dc9a8dd
parentac66dbd43a6655b4bd7f06284c1615622ca095a8 (diff)
Rename variables to blacklist and whitelist
-rw-r--r--README.org4
-rw-r--r--rich-minority.el12
2 files changed, 9 insertions, 7 deletions
diff --git a/README.org b/README.org
index 711cae3..28c42cb 100644
--- a/README.org
+++ b/README.org
@@ -19,10 +19,10 @@ By default, this has a couple of small effects (provided as examples)
it is up to you to customize it to your liking with the following
three variables:
-- rm-excluded-modes :: List of minor mode names that will be hidden
+- 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.
-- rm-included-modes :: List of minor mode names that are allowed on
+- 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
minor-mode lighter. For instance, by default we highlight =Ovwrt=
diff --git a/rich-minority.el b/rich-minority.el
index 256d1f7..0ff6a5c 100644
--- a/rich-minority.el
+++ b/rich-minority.el
@@ -75,7 +75,7 @@ Please include your Emacs and rich-minority versions."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Customization variables.
-(defcustom rm-excluded-modes '(" hl-p")
+(defcustom rm-blacklist '(" hl-p")
"List of minor modes you want to hide from the mode-line.
Has three possible values:
@@ -99,10 +99,11 @@ minor-mode lighters start with a space."
:type '(choice (repeat string)
(regexp :tag "Regular expression."))
:group 'rich-minority
- :package-version '(rich-minority . "0.1"))
-(defvaralias 'rm-hidden-modes 'rm-excluded-modes)
+ :package-version '(rich-minority . "0.1.1"))
+(define-obsolete-variable-alias 'rm-excluded-modes 'rm-blacklist "0.1.1")
+(define-obsolete-variable-alias 'rm-hidden-modes 'rm-excluded-modes "0.1.1")
-(defcustom rm-included-modes nil
+(defcustom rm-whitelist nil
"List of minor modes you want to include in the mode-line.
- nil: All minor modes are shown in the mode-line (but see also
@@ -125,7 +126,8 @@ minor-mode lighters start with a space."
:type '(choice (repeat string)
(regexp :tag "Regular expression."))
:group 'rich-minority
- :package-version '(rich-minority . "0.1"))
+ :package-version '(rich-minority . "0.1.1"))
+(define-obsolete-variable-alias 'rm-included-modes 'rm-whitelist "0.1.1")
(defcustom rm-text-properties
'(("\\` Ovwrt\\'" 'face 'font-lock-warning-face))