Remove go-oracle-mode hook
See golang/tools@68b5f75 Loading of go-oracle is now taken care of by go-projectile Fixes issue #854
This commit is contained in:
parent
605d9aa3de
commit
2fe4fe5987
1 changed files with 1 additions and 8 deletions
|
@ -78,14 +78,7 @@
|
||||||
(setq prelude-go-mode-hook 'prelude-go-mode-defaults)
|
(setq prelude-go-mode-hook 'prelude-go-mode-defaults)
|
||||||
|
|
||||||
(add-hook 'go-mode-hook (lambda ()
|
(add-hook 'go-mode-hook (lambda ()
|
||||||
(run-hooks 'prelude-go-mode-hook)))
|
(run-hooks 'prelude-go-mode-hook)))))
|
||||||
|
|
||||||
;; Enable go-oracle-mode if available
|
|
||||||
(let ((oracle (executable-find "oracle")))
|
|
||||||
(when oracle
|
|
||||||
(setq go-oracle-command oracle)
|
|
||||||
(autoload 'go-oracle-mode "oracle")
|
|
||||||
(add-hook 'go-mode-hook 'go-oracle-mode)))))
|
|
||||||
|
|
||||||
(provide 'prelude-go)
|
(provide 'prelude-go)
|
||||||
;;; prelude-go.el ends here
|
;;; prelude-go.el ends here
|
||||||
|
|
Loading…
Reference in a new issue