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:
Doug MacEachern 2015-07-18 11:12:29 -07:00
parent 605d9aa3de
commit 2fe4fe5987

View file

@ -78,14 +78,7 @@
(setq prelude-go-mode-hook 'prelude-go-mode-defaults)
(add-hook 'go-mode-hook (lambda ()
(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)))))
(run-hooks 'prelude-go-mode-hook)))))
(provide 'prelude-go)
;;; prelude-go.el ends here