diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-31T22·28+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-31T22·33+0100 |
commit | a638e15c0dd14a25e6f032b08de5ee1575677497 (patch) | |
tree | 3c4bdda33fc80a52242c7016c11be4e981d7d2ac /emacs/.emacs.d/wpc/wpc-golang.el | |
parent | 158f810981fa0a77de76f0f7e07b60482a9ba10e (diff) |
Lint string, macros.el
More of the same type of linting... basically preferring `namespace-` instead of `namespace/`.
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-golang.el')
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-golang.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-golang.el b/emacs/.emacs.d/wpc/wpc-golang.el index 50c26fd5bfcd..8fe68860bfa5 100644 --- a/emacs/.emacs.d/wpc/wpc-golang.el +++ b/emacs/.emacs.d/wpc/wpc-golang.el @@ -15,6 +15,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'prelude) +(require 'macros) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Configuration @@ -40,7 +41,7 @@ (add-hook 'go-mode-hook (lambda () (set (make-local-variable 'compile-command) "go build -v"))) - (add-hook-before-save 'go-mode-hook #'gofmt-before-save)) + (macros-add-hook-before-save 'go-mode-hook #'gofmt-before-save)) (provide 'wpc-golang) ;;; wpc-golang.el ends here |