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

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

[nongnu] elpa/go-mode e565a58 394/495: Use goto-char, not beginning-of-b


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode e565a58 394/495: Use goto-char, not beginning-of-buffer
Date: Sat, 7 Aug 2021 09:05:55 -0400 (EDT)

branch: elpa/go-mode
commit e565a5847c8eba76fb69ce77d83684bbb54ca489
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@honnef.co>

    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)



reply via email to

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