summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwouter bolsterlee <wouter@bolsterl.ee>2017-11-20 15:34:35 +0100
committerFilipe Silva <ninrod@users.noreply.github.com>2017-11-27 15:10:15 -0200
commit55c820083a5f28d5361baeb9cd7da92549e5b3f5 (patch)
treee0920e61aaa5556e0b65b0625bbd80cbd7f1a969
parent6d37e5c91046181079bf16169ce8d023d0ab170b (diff)
Use ‘evil-surround’ as :group for customizable variables
Before this change, there were two groups for this package in the customize interface. The customizable variables show up in the group named ‘surround’, while the mode itself shows up in the group named ‘evil-surround’. This is confusing and unnecessary. To address this, put everything inside the ‘evil-surround’ group, which is the same approach used by many other evil-mode extension packages.
-rw-r--r--evil-surround.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/evil-surround.el b/evil-surround.el
index 5a6db9a..1fa2b43 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -39,9 +39,9 @@
(require 'evil)
-(defgroup surround nil
+(defgroup evil-surround nil
"surround.vim for Emacs"
- :prefix "surround-"
+ :prefix "evil-surround-"
:group 'evil)
;; make surround's `ysw' work like `cw', not `ce'
@@ -68,7 +68,7 @@
Each item is of the form (TRIGGER . (LEFT . RIGHT)), all strings.
Alternatively, a function can be put in place of (LEFT . RIGHT).
This only affects inserting pairs, not deleting or changing them."
- :group 'surround
+ :group 'evil-surround
:type '(alist
:key-type (character :tag "Key")
:value-type (choice
@@ -81,7 +81,7 @@ This only affects inserting pairs, not deleting or changing them."
(evil-delete . delete))
"Association list of operators to their fundamental operation.
Each item is of the form (OPERATOR . OPERATION)."
- :group 'surround
+ :group 'evil-surround
:type '(repeat (cons (symbol :tag "Operator")
(symbol :tag "Operation"))))