emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil 282431acb4 1/3: Ensure column doesn't spoof `next-lin


From: ELPA Syncer
Subject: [nongnu] elpa/evil 282431acb4 1/3: Ensure column doesn't spoof `next-line`
Date: Mon, 3 Oct 2022 18:58:44 -0400 (EDT)

branch: elpa/evil
commit 282431acb4b0e5b361e89b088ff1cd6be9a81d19
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>

    Ensure column doesn't spoof `next-line`
    
    Fixes #1687
---
 evil-common.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/evil-common.el b/evil-common.el
index 58949f3b7b..f23dafb967 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -989,7 +989,6 @@ See also `evil-save-goal-column'."
 
 (defmacro evil-ensure-column (&rest body)
   "Execute BODY so that column after execution is correct.
-If `evil-start-of-line' is nil, treat BODY as if it were a `next-line' command.
 This mostly copies the approach of Emacs' `line-move-1', but is modified
 so it is more compatible with evil's notions of eol & tracking."
   (declare (indent defun)
@@ -1003,7 +1002,6 @@ so it is more compatible with evil's notions of eol & 
tracking."
               (setq temporary-goal-column (max 0 (+ (car temporary-goal-column)
                                                     (cdr 
temporary-goal-column)))))))
     `(progn
-       (unless evil-start-of-line (setq this-command 'next-line))
        ,normalize-temporary-goal-column
        (if (not (memq last-command '(next-line previous-line)))
            (setq temporary-goal-column



reply via email to

[Prev in Thread] Current Thread [Next in Thread]