Skip to content

Commit

Permalink
Make combine-change-calls end more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdl89 committed Jun 18, 2024
1 parent d7c0f8f commit 07fe2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evil-states.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

1 comment on commit 07fe2dc

@tomdl89
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the noise, for anyone following evil's master branch!

Please sign in to comment.