aboutsummaryrefslogtreecommitdiff
path: root/evil-macros.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-07-01 15:19:25 +0200
committerAxel Forsman <axelsfor@gmail.com>2023-07-02 11:18:10 +0200
commit2a0f8d8a83a57311c62e0597ace6992aa5992f12 (patch)
tree69526066ac61d6a667ccb981de8fc0fb0872744d /evil-macros.el
parentd2770cac1e3b3c59172adc7dc6f575a0e871310f (diff)
Remove evil-repeat-start-hook
It was a no-op since (evil-repeat-type this-command t) does not returns t, and otherwise the call to evil-repeat-start would overwrite changes done by (funcall repeat-type 'pre) in evil-repeat-pre-hook.
Diffstat (limited to 'evil-macros.el')
-rw-r--r--evil-macros.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-macros.el b/evil-macros.el
index 9e7d2f3..ebc188e 100644
--- a/evil-macros.el
+++ b/evil-macros.el
@@ -58,7 +58,7 @@ The return value is a list (BEG END TYPE)."
(evil-this-type
(or type (evil-get-command-property motion :type 'exclusive))))
(condition-case err
- (let ((repeat-type (evil-repeat-type motion t)))
+ (let ((repeat-type (evil--repeat-type motion)))
(when (functionp repeat-type) (funcall repeat-type 'pre))
(unless (with-local-quit
(setq range (call-interactively motion))