Redefine C-c C-s to run utop

Instead of tuareg-run-ocaml.  This avoids the problems described in
issue #626. Nominally fixes #626.
This commit is contained in:
Geoff Shannon 2014-08-04 15:44:20 -07:00
parent 6bbcd438ae
commit 17d56f668d

View file

@ -46,6 +46,11 @@
(add-hook 'tuareg-mode-hook 'utop-setup-ocaml-buffer) (add-hook 'tuareg-mode-hook 'utop-setup-ocaml-buffer)
(add-hook 'tuareg-mode-hook 'merlin-mode) (add-hook 'tuareg-mode-hook 'merlin-mode)
(add-hook 'tuareg-mode-hook (lambda ()
(progn
(define-key tuareg-mode-map (kbd "C-c C-s")
'utop))))
;; 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)