From a638e15c0dd14a25e6f032b08de5ee1575677497 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 31 Aug 2020 23:28:47 +0100 Subject: Lint string, macros.el More of the same type of linting... basically preferring `namespace-` instead of `namespace/`. --- emacs/.emacs.d/wpc/wpc-golang.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/wpc/wpc-golang.el') 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 -- cgit 1.4.1