diff --git a/modules/prelude-ocaml.el b/modules/prelude-ocaml.el index 28cca42..c3da0cc 100644 --- a/modules/prelude-ocaml.el +++ b/modules/prelude-ocaml.el @@ -75,7 +75,7 @@ (define-key tuareg-mode-map (kbd "C-c C-s") 'utop) (setq compile-command - "opam config exec \"corebuild \"")))) + "opam config exec corebuild ")))) ;; Setup merlin completions company is used by default in prelude (add-to-list 'company-backends 'merlin-company-backend) @@ -84,7 +84,7 @@ ;; to activate it. ;; (setq merlin-use-auto-complete-mode t) -(setq utop-command "opam config exec \"utop -emacs\"" +(setq utop-command "opam config exec utop -- -emacs" merlin-error-after-save nil) (provide 'prelude-ocaml)