branch: elpa/evil
commit 07fe2dccb0a833b0c5ee7f24e98e63b29a529c95
Author: Tom Dalziel <tom...@hotmail.com>
Commit: Tom Dalziel <tom...@hotmail.com>

    Make combine-change-calls end more accurate
---
 evil-states.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-states.el b/evil-states.el
index fbf29ef41b..62a612a9f0 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))

Reply via email to