branch: elpa/rust-mode
commit 2be934c994cf4c5b393e20549ef2ddb26a35cfe3
Merge: 42730b1 ddf45ed
Author: Felix S Klock II <[email protected]>
Commit: Felix S Klock II <[email protected]>
Merge pull request #55 from kriben/master
Use (goto-char (point-max)) instead of (end-of-buffer) to silence warnin...
---
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)