diff options
| author | Tom Dalziel <tom_dl@hotmail.com> | 2024-06-18 20:23:32 +0200 |
|---|---|---|
| committer | Tom Dalziel <tom_dl@hotmail.com> | 2024-06-18 20:23:32 +0200 |
| commit | 051e5c9c9ee08f49d523d63c71085af469321a56 (patch) | |
| tree | b9464eb95d13e7a3a91975dbe85a54ed1a6153f9 | |
| parent | 491da1a1be2cf380a2174b5d3a282f9d1b9f8ac0 (diff) | |
Fix comp warning for goto-line
| -rw-r--r-- | evil-states.el | 3 |
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)) |
