Lint string, macros.el

More of the same type of linting... basically preferring `namespace-` instead of
`namespace/`.
This commit is contained in:
William Carroll 2020-08-31 23:28:47 +01:00
parent 158f810981
commit a638e15c0d
36 changed files with 176 additions and 204 deletions

View file

@ -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