aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2024-06-19 00:10:18 +0200
committerTom Dalziel <tom_dl@hotmail.com>2024-06-19 00:10:18 +0200
commit07fe2dccb0a833b0c5ee7f24e98e63b29a529c95 (patch)
tree216fdeb639606aff78de95513ca6ea117ecb26d7
parentd7c0f8f7f7f1a9469f35acd55d1dcb48b8989eb1 (diff)
Make combine-change-calls end more accurate
-rw-r--r--evil-states.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-states.el b/evil-states.el
index fbf29ef..62a612a 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 (+ line vcount))
+ (line-end-position (+ line vcount -1))
(let (pre-command-hook post-command-hook) ; For performance
(dotimes (v (1- vcount))
(goto-char (point-min))