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

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

[nongnu] elpa/go-mode b234d71 412/495: Remove outdated autoloads instruc


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode b234d71 412/495: Remove outdated autoloads instructions from README.md
Date: Sat, 7 Aug 2021 09:05:59 -0400 (EDT)

branch: elpa/go-mode
commit b234d71e1adf6fe662435ad869b76a854a2f21f0
Author: Kristoffer Grönlund <krig@koru.se>
Commit: Dominik Honnef <dominik@honnef.co>

    Remove outdated autoloads instructions from README.md
    
    Since the `go-mode-autoloads.el` was removed, the
    instructions for manual installation no longer work.
    
    Closes gh-226
    Closes gh-251 [via git-merge-pr]
---
 README.md | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index aba11f0..ac33d82 100644
--- a/README.md
+++ b/README.md
@@ -83,20 +83,17 @@ If you're not familiar with ELPA yet, consider reading
 
 ## Manual
 
-To install go-mode manually, place `go-mode.el` and
-`go-mode-autoloads.el` in a directory of your choice, add it to your
-load path and require `'go-mode-autoloads`:
 
-    (add-to-list 'load-path "/place/where/you/put/it/")
-    (require 'go-mode-autoloads)
 
-Either evaluate both statements with `C-x C-e`, or restart Emacs.
+To install go-mode manually, check out the `go-mode.el` repository in
+a directory of your choice, add it to your load path and configure
+Emacs to automatically load it when opening a `.go` file:
+
+    (add-to-list 'load-path "/place/where/you/put/it/")
+    (autoload 'go-mode "go-mode" nil t)
+    (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))
 
-As a side note, normally the autoloads file shouldn't be part of the
-package, as it's supposed to be automatically generated by ELPA, or
-manually by the user with `update-file-autoloads`. go-mode includes
-said file because it used to when it was part of the Go distribution
-and this makes upgrading easier for some people.
+Either evaluate the statements with `C-x C-e`, or restart Emacs.
 
 # Other extensions
 



reply via email to

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