aboutsummaryrefslogtreecommitdiff
path: root/evil-states.el
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2024-06-18 20:31:52 +0200
committerTom Dalziel <tom_dl@hotmail.com>2024-06-18 20:31:52 +0200
commit3d4102c8a5ba3d7b13ce9edb7afd767e65c0a331 (patch)
tree841a7c2d6c951520a82c757b67ff052d80af1c4e /evil-states.el
parent051e5c9c9ee08f49d523d63c71085af469321a56 (diff)
Correct fix for combine-change-calls end
Diffstat (limited to 'evil-states.el')
-rw-r--r--evil-states.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-states.el b/evil-states.el
index 5c83a9d..fbf29ef 100644
--- a/evil-states.el
+++ b/evil-states.el
@@ -165,7 +165,7 @@ Handles the repeat-count of the insertion command."
(combine-change-calls ; For performance
(progn (goto-char (point-min))
(line-beginning-position line))
- (line-end-position vcount)
+ (line-end-position (+ line vcount))
(let (pre-command-hook post-command-hook) ; For performance
(dotimes (v (1- vcount))
(goto-char (point-min))