aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2024-06-18 20:23:32 +0200
committerTom Dalziel <tom_dl@hotmail.com>2024-06-18 20:23:32 +0200
commit051e5c9c9ee08f49d523d63c71085af469321a56 (patch)
treeb9464eb95d13e7a3a91975dbe85a54ed1a6153f9
parent491da1a1be2cf380a2174b5d3a282f9d1b9f8ac0 (diff)
Fix comp warning for goto-line
-rw-r--r--evil-states.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/evil-states.el b/evil-states.el
index 6f3a2c0..5c83a9d 100644
--- a/evil-states.el
+++ b/evil-states.el
@@ -163,7 +163,8 @@ Handles the repeat-count of the insertion command."
(cl-destructuring-bind (line col vcount) evil-insert-vcount
(save-excursion
(combine-change-calls ; For performance
- (progn (goto-line line) (line-beginning-position))
+ (progn (goto-char (point-min))
+ (line-beginning-position line))
(line-end-position vcount)
(let (pre-command-hook post-command-hook) ; For performance
(dotimes (v (1- vcount))