summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorFelix S Klock II <pnkfelix@pnkfx.org>2015-04-30 12:23:44 +0200
committerFelix S Klock II <pnkfelix@pnkfx.org>2015-04-30 12:23:44 +0200
commit2be934c994cf4c5b393e20549ef2ddb26a35cfe3 (patch)
treeea0ee81cfe346149153f6e30f062cbc89ddd02d4 /rust-mode.el
parent42730b1bdc5947ad2d5f50505221f1aadd84d792 (diff)
parentddf45edfb035841ba3121014e55dc1bce60bf6aa (diff)
downloadrust-mode-2be934c994cf4c5b393e20549ef2ddb26a35cfe3.tar.gz
Merge pull request #55 from kriben/master
Use (goto-char (point-max)) instead of (end-of-buffer) to silence warnin...
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
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)