diff --git a/emacs.el b/emacs.el index 2200cb0..0bb6415 100644 --- a/emacs.el +++ b/emacs.el @@ -2187,7 +2187,7 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (add-hook 'go-mode-hook (lambda() (defvar go-mode-map) - (add-hook 'before-save-hook' 'gofmt-before-save nil t) + (add-hook 'before-save-hook 'gofmt-before-save nil t) (define-key go-mode-map (kbd "M-.") 'godef-jump))) (when (fboundp 'k8s-mode)