Skip to content

Commit

Permalink
add go-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zsol committed Jul 18, 2013
1 parent 1a92f86 commit f95598e
Show file tree
Hide file tree
Showing 4 changed files with 923 additions and 0 deletions.
49 changes: 49 additions & 0 deletions emacs.d.symlink/elpa/go-mode-12869/go-mode-autoloads.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
;;; go-mode-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))

;;;### (autoloads nil "go-mode" "go-mode.el" (20959 18659 9684 865000))
;;; Generated autoloads from go-mode.el

(autoload 'go-mode "go-mode" "\
Major mode for editing Go source text.
This provides basic syntax highlighting for keywords, built-ins,
functions, and some types. It also provides indentation that is
\(almost) identical to gofmt.
\(fn)" t nil)

(add-to-list 'auto-mode-alist (cons "\\.go$" #'go-mode))

(autoload 'gofmt "go-mode" "\
Pipe the current buffer through the external tool `gofmt`.
Replace the current buffer on success; display errors on failure.
\(fn)" t nil)

(autoload 'gofmt-before-save "go-mode" "\
Add this to .emacs to run gofmt on the current buffer when saving:
(add-hook 'before-save-hook #'gofmt-before-save)
\(fn)" t nil)

(autoload 'godoc "go-mode" "\
Show go documentation for a query, much like M-x man.
\(fn QUERY)" t nil)

;;;***

;;;### (autoloads nil nil ("go-mode-load.el" "go-mode-pkg.el") (20959
;;;;;; 18659 26293 953000))

;;;***

;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; go-mode-autoloads.el ends here
50 changes: 50 additions & 0 deletions emacs.d.symlink/elpa/go-mode-12869/go-mode-load.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
;;; go-mode-load.el --- Major mode for the Go programming language

;;; Commentary:

;; To install go-mode, add the following lines to your .emacs file:
;; (add-to-list 'load-path "PATH CONTAINING go-mode-load.el" t)
;; (require 'go-mode-load)
;; After this, go-mode will be used for files ending in '.go'.

;; To compile go-mode from the command line, run the following
;; emacs -batch -f batch-byte-compile go-mode.el

;; See go-mode.el for documentation.

;;; Code:

;; To update this file, evaluate the following form
;; (let ((generated-autoload-file buffer-file-name)) (update-file-autoloads "go-mode.el"))


;;;### (autoloads (gofmt-before-save gofmt go-mode) "go-mode" "go-mode.el"
;;;;;; (19917 17808))
;;; Generated autoloads from go-mode.el

(autoload 'go-mode "go-mode" "\
Major mode for editing Go source text.
This provides basic syntax highlighting for keywords, built-ins,
functions, and some types. It also provides indentation that is
\(almost) identical to gofmt.
\(fn)" t nil)

(add-to-list 'auto-mode-alist (cons "\\.go$" #'go-mode))

(autoload 'gofmt "go-mode" "\
Pipe the current buffer through the external tool `gofmt`.
Replace the current buffer on success; display errors on failure.
\(fn)" t nil)

(autoload 'gofmt-before-save "go-mode" "\
Add this to .emacs to run gofmt on the current buffer when saving:
(add-hook 'before-save-hook #'gofmt-before-save)
\(fn)" t nil)

;;;***

(provide 'go-mode-load)
1 change: 1 addition & 0 deletions emacs.d.symlink/elpa/go-mode-12869/go-mode-pkg.el
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(define-package "go-mode" "12869" "Major mode for the Go programming language." 'nil)
Loading

0 comments on commit f95598e

Please sign in to comment.