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

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

[nongnu] elpa/evil 44f75e9: Use `point-max` rather than `end-of-buffer`


From: ELPA Syncer
Subject: [nongnu] elpa/evil 44f75e9: Use `point-max` rather than `end-of-buffer` for G with no count (#1530)
Date: Mon, 11 Oct 2021 18:57:33 -0400 (EDT)

branch: elpa/evil
commit 44f75e93c6db89de882a0eb1d8bcc7c4ebb8e94e
Author: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Use `point-max` rather than `end-of-buffer` for G with no count (#1530)
---
 evil-commands.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-commands.el b/evil-commands.el
index dc0174d..656b897 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -298,7 +298,7 @@ of the current screen line."
   :type line
   (evil-ensure-column
     (if (null count)
-        (with-no-warnings (end-of-buffer))
+        (goto-char (point-max))
       (goto-char (point-min))
       (forward-line (1- count)))))
 



reply via email to

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