summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Øye <vegard_oye@hotmail.com>2011-09-05 13:36:53 +0200
committerVegard Øye <vegard_oye@hotmail.com>2011-09-05 13:38:54 +0200
commitc43dfec32c82c9101fa606292e5aea710fa925e5 (patch)
tree9ff7486b6c4b6fc888066f103cba939720fd243e
parent67a82903ec75e55d2ef837ff535dfe275a098f28 (diff)
Update `interactive' forms
Use the code <R> to refer to Evil ranges.
-rw-r--r--surround.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/surround.el b/surround.el
index 8fe9d46..abeb6e4 100644
--- a/surround.el
+++ b/surround.el
@@ -211,7 +211,7 @@ Becomes this:
:thing
}"
- (interactive (list (read-char))) ; CHAR
+ (interactive "<R>c")
(let* ((overlay (make-overlay beg end nil nil t))
(pair (surround-pair char))
(open (car pair))
@@ -246,7 +246,7 @@ Becomes this:
(evil-define-operator Surround-region (beg end type char)
"Call surround-region, toggling force-new-line"
- (interactive (list (read-char))) ; CHAR
+ (interactive "<R>c")
(surround-region beg end type char t))
(define-minor-mode surround-mode