Namespace most of my custom functions
Some checks failed
/ Test config on ${{matrix.node}} (20) (push) Has been cancelled

This commit is contained in:
Maciej 2024-07-28 14:31:54 +03:00
parent dd5387cd7e
commit c2caa56b35
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
25 changed files with 82 additions and 85 deletions

View file

@ -35,7 +35,7 @@
[""
("q" "Quit" keyboard-quit)])
(defun load-ocaml-site-packages ()
(defun icejam/load-ocaml-site-packages ()
"Generate ocaml config."
(let ((opam-share (ignore-errors (car (process-lines "opam" "var" "share")))))
(when (and opam-share (file-directory-p opam-share))
@ -52,7 +52,7 @@
;; OCaml setup
(add-hook 'tuareg-mode-hook 'merlin-mode)
(add-hook 'tuareg-mode-hook 'load-ocaml-site-packages)
(add-hook 'tuareg-mode-hook 'icejam/load-ocaml-site-packages)
(add-hook 'merlin-mode-hook (lambda ()
(unbind-key "C-c C-d" merlin-mode-map)
(unbind-key "C-c C-l" merlin-mode-map)