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

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

[nongnu] elpa/rust-mode ddf45ed 146/486: Use (goto-char (point-max)) ins


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode ddf45ed 146/486: Use (goto-char (point-max)) instead of (end-of-buffer) to silence warning.
Date: Sat, 7 Aug 2021 09:25:07 -0400 (EDT)

branch: elpa/rust-mode
commit ddf45edfb035841ba3121014e55dc1bce60bf6aa
Author: Kristian Bendiksen <kristian.bendiksen@gmail.com>
Commit: Kristian Bendiksen <kristian.bendiksen@gmail.com>

    Use (goto-char (point-max)) instead of (end-of-buffer) to silence warning.
    
    Fixes issue #54.
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode.el b/rust-mode.el
index b518c87..53232ec 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -774,7 +774,7 @@ See `compilation-error-regexp-alist for help on their 
format.")
                         ; start of the buffer: the relevant text
                         ; (shortened url or error message) is exactly
                         ; the last line.
-                        (end-of-buffer)
+                        (goto-char (point-max))
                         (let ((last-line (thing-at-point 'line t))
                               (err (plist-get state :error)))
                           (kill-buffer)



reply via email to

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