From 77664b03ef2bbae4b95d01c3c5dd423778c9de15 Mon Sep 17 00:00:00 2001 From: dieggsy Date: Wed, 6 Dec 2017 11:06:27 -0500 Subject: [PATCH] Make evil-collection-mode-list customizable. --- evil-collection.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/evil-collection.el b/evil-collection.el index c7f7c5b..4a8bed5 100644 --- a/evil-collection.el +++ b/evil-collection.el @@ -34,7 +34,11 @@ ;; (evil-minibuffer-init) ;;; Code: -(defvar evil-collection-mode-list +(defgroup evil-collection nil + "A set of keybindings for Evil mode" + :group 'evil) + +(defcustom evil-collection-mode-list `(ag alchemist anaconda-mode @@ -95,7 +99,9 @@ Elements are either target mode symbols or lists which `car' is the mode symbol and `cdr' the packages to register. By default, `minibuffer' is not included because many users find -this confusing.") +this confusing." + :type '(repeat (choice symbol sexp)) + :group 'evil-collection) ;;;###autoload (defun evil-collection-init ()