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

    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 6f3a2c05c1..5c83a9da8d 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))

Reply via email to