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

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

[elpa] master f9359de 11/23: Rename variables to blacklist and whitelist


From: Artur Malabarba
Subject: [elpa] master f9359de 11/23: Rename variables to blacklist and whitelist
Date: Wed, 30 Sep 2015 12:16:01 +0000

branch: master
commit f9359de5fab0326325b8294aa9af81bb680fe5e0
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    Rename variables to blacklist and whitelist
---
 README.org       |    4 ++--
 rich-minority.el |   12 +++++++-----
 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))



reply via email to

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