Have tuareg mode set the compile command

to utilize corebuild via opam
This commit is contained in:
Geoff Shannon 2014-10-18 13:36:55 -04:00
parent 7fafb2021f
commit 3d85f4014c

View file

@ -49,7 +49,9 @@
(add-hook 'tuareg-mode-hook (lambda () (add-hook 'tuareg-mode-hook (lambda ()
(progn (progn
(define-key tuareg-mode-map (kbd "C-c C-s") (define-key tuareg-mode-map (kbd "C-c C-s")
'utop)))) 'utop)
(setq compile-command
"opam config exec \"corebuild \""))))
;; Setup merlin completions company is used by default in prelude ;; Setup merlin completions company is used by default in prelude
(add-to-list 'company-backends 'merlin-company-backend) (add-to-list 'company-backends 'merlin-company-backend)