From 051e5c9c9ee08f49d523d63c71085af469321a56 Mon Sep 17 00:00:00 2001 From: Tom Dalziel Date: Tue, 18 Jun 2024 20:23:32 +0200 Subject: [PATCH] Fix comp warning for goto-line --- evil-states.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evil-states.el b/evil-states.el index 6f3a2c05..5c83a9da 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))