branch: elpa/go-mode
commit e565a5847c8eba76fb69ce77d83684bbb54ca489
Author: Dominik Honnef <[email protected]>
Commit: Dominik Honnef <[email protected]>
Use goto-char, not beginning-of-buffer
Closes gh-158
---
go-guru.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go-guru.el b/go-guru.el
index 92e5b2f..6f98cd2 100644
--- a/go-guru.el
+++ b/go-guru.el
@@ -241,7 +241,7 @@ output of the Go guru tool."
"Erase default output header inserted by `compilation-mode'."
(with-current-buffer (process-buffer proc)
(let ((inhibit-read-only t))
- (beginning-of-buffer)
+ (goto-char (point-min))
(delete-region (point) (point-max)))))
(defun go-guru--start (mode)