Merge pull request #883 from dougm/go-oracle
Remove go-oracle-mode hook
This commit is contained in:
commit
b4d4b1e3f9
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue