Skip to content

Commit

Permalink
Merge pull request #883 from dougm/go-oracle
Browse files Browse the repository at this point in the history
Remove go-oracle-mode hook
  • Loading branch information
bbatsov committed Jul 18, 2015
2 parents 605d9aa + 2fe4fe5 commit b4d4b1e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions modules/prelude-go.el
Expand Up @@ -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

0 comments on commit b4d4b1e

Please sign in to comment.