[ocaml-platform] "opam config env" and emacs

Yaron Minsky yminsky at janestreet.com
Sat Apr 6 19:12:39 BST 2013

Does anyone know a good way of setting up emacs to point to the
appropriate site-lisp directory in OPAM?  Right now, I have a stanza
like this in my .emacs:

(add-to-list 'load-path

But this is of course not at all sensitive to opam switch.  Jeremie
has some auto-detection code here:


Should we integrate this into OPAM somehow so people don't have to dig
this out and cut and paste it in?


More information about the Platform mailing list