Skip to content

Commit

Permalink
Fix comp warning for goto-line
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdl89 committed Jun 18, 2024
1 parent 491da1a commit 051e5c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evil-states.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 051e5c9

Please sign in to comment.