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

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

[nongnu] elpa/go-mode 73137ff 002/495: remove autoload cookies


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 73137ff 002/495: remove autoload cookies
Date: Sat, 7 Aug 2021 09:04:31 -0400 (EDT)

branch: elpa/go-mode
commit 73137ff8d03b9ef85dc059aa561a1415cedbb706
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>

    remove autoload cookies
    
    They were terribly inconsistent and this isn't a file that's shipped
    with emacs so they serve no purpose either way.
---
 go-mode.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index 4a404f5..2537ca7 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -254,7 +254,6 @@ built-ins, functions, and some types.")
       (skip-chars-forward "^}")
       (forward-char))))
 
-;;;###autoload
 (define-derived-mode go-mode fundamental-mode "Go"
   "Major mode for editing Go source text.
 
@@ -300,10 +299,8 @@ functions, and some types.  It also provides indentation 
that is
     (add-to-list 'compilation-error-regexp-alist-alist
                  '(go-test . ("^\t+\\([^()\t\n]+\\):\\([0-9]+\\):? .*$" 1 2)) 
t)))
 
-;;;###autoload
 (add-to-list 'auto-mode-alist (cons "\\.go\\'" 'go-mode))
 
-;;;###autoload
 (defun gofmt ()
   "Pipe the current buffer through the external tool `gofmt`.
 Replace the current buffer on success; display errors on failure."
@@ -395,7 +392,6 @@ Replace the current buffer on success; display errors on 
failure."
     (display-buffer errbuf)
     (compilation-mode)))
 
-;;;###autoload
 (defun gofmt-before-save ()
   "Add this to .emacs to run gofmt on the current buffer when saving:
  (add-hook 'before-save-hook 'gofmt-before-save)"
@@ -436,7 +432,6 @@ Replace the current buffer on success; display errors on 
failure."
              (kill-buffer (current-buffer))
              (message (concat "godoc: " output)))))))
 
-;;;###autoload
 (defun godoc (query)
   "Show go documentation for a query, much like M-x man."
   (interactive (list (godoc-read-query)))



reply via email to

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