[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 782323afac 3/5: Handle gj/gk when tracking EOL
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 782323afac 3/5: Handle gj/gk when tracking EOL |
Date: |
Mon, 3 Oct 2022 19:58:22 -0400 (EDT) |
branch: elpa/evil
commit 782323afaca5c5afc8edf3a9670211966dff2af3
Author: Axel Forsman <axelsfor@gmail.com>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Handle gj/gk when tracking EOL
---
evil-common.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/evil-common.el b/evil-common.el
index 5dd00a5e24..e8dd705684 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -1405,7 +1405,8 @@ Signals an error at buffer boundaries unless NOERROR is
non-nil."
(setq this-command (if (< count 0) #'previous-line #'next-line))
(let ((last-command
;; Reset tmp goal column between visual/logical movement
- (when (eq line-move-visual (consp temporary-goal-column))
+ (when (or (eq line-move-visual (consp temporary-goal-column))
+ (eq temporary-goal-column most-positive-fixnum))
last-command))
(opoint (point)))
(evil-signal-without-movement