Merge pull request #883 from dougm/go-oracle

Remove go-oracle-mode hook
This commit is contained in:
Bozhidar Batsov 2015-07-18 22:15:41 +03:00
commit b4d4b1e3f9

View file

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