branch: elpa/evil-matchit
commit b217722ddb666a2835efaa9bce2ea5c278d5a26d
Author: Zhang Zeren <[email protected]>
Commit: Zhang Zeren <[email protected]>
fix: make evilmi-jump-hook run after jump
evilmi-jump-hook is intended to run before AND after a jump. However,
the post-jump hook invocation was removed in commit
41a062bb88bde5aa3dc3ddab0ad5353e9bbc3f56. This change restores the missing
call that runs the hook after a jump.
---
evil-matchit.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/evil-matchit.el b/evil-matchit.el
index 8363e8e8fd7..a64e0214995 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -161,6 +161,7 @@ Some modes can be toggle on/off in the hook."
(setq ideal-dest (point)))
(if evilmi-debug (message "evilmi-jump-items-internal returned: %s"
ideal-dest))
+ (run-hook-with-args 'evilmi-jump-hook nil)
ideal-dest))
;;;###autoload