aboutsummaryrefslogtreecommitdiff
path: root/evil-types.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-01-15 22:38:07 +0100
committerAxel Forsman <axelsfor@gmail.com>2023-01-15 22:46:30 +0100
commit49fc382e97f1900c228749fa592fd31408d5eb51 (patch)
treeb50a8066c6bc9b43c3019a4c0e8a73425a6d32ef /evil-types.el
parent29a5d464e973b66abae20e6c4b402a366547c7a5 (diff)
Re-add return-type evil-operator-range argument
It was removed by commit 29a5d464e973b66abae20e6c4b402a366547c7a5, however this broke the evil-surround package.
Diffstat (limited to 'evil-types.el')
-rw-r--r--evil-types.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/evil-types.el b/evil-types.el
index 47b064e..276cdbb 100644
--- a/evil-types.el
+++ b/evil-types.el
@@ -305,14 +305,11 @@ directly."
(evil-define-interactive-code "<r>"
"Untyped motion range (BEG END)."
- (let ((range (evil-operator-range)))
- (setcdr (cdr range) nil)
- range))
+ (evil-operator-range))
(evil-define-interactive-code "<R>"
"Typed motion range (BEG END TYPE)."
- (let ((range (evil-operator-range)))
- (list (car range) (cadr range) (evil-type range))))
+ (evil-operator-range t))
(evil-define-interactive-code "<v>"
"Typed motion range of visual range(BEG END TYPE).