[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 25885ddc07: Improve on evil-append's determination of
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 25885ddc07: Improve on evil-append's determination of eolp |
Date: |
Mon, 2 May 2022 10:58:12 -0400 (EDT) |
branch: elpa/evil
commit 25885ddc07d4cf09c600b2b71f226cfcf3a5746d
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Improve on evil-append's determination of eolp
Fixes #1617
---
evil-commands.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/evil-commands.el b/evil-commands.el
index c371accdf7..2bb14baa0b 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -2603,7 +2603,10 @@ the lines."
(evil-visual-rotate 'lower-right)
(backward-char)
(evil-append count)))
- (unless (eolp) (forward-char))
+ (unless (= (current-column)
+ (save-excursion (end-of-line) (current-column)))
+ ;; Subtly different from `(eolp)' - see issue #1617
+ (forward-char))
(evil-insert count vcount skip-empty-lines)
(add-hook 'post-command-hook #'evil-maybe-remove-spaces)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/evil 25885ddc07: Improve on evil-append's determination of eolp,
ELPA Syncer <=