Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http://www.typerex.org/ocp-index.html .emacs snippet #41

Open
braibant opened this issue May 30, 2014 · 0 comments
Open

http://www.typerex.org/ocp-index.html .emacs snippet #41

braibant opened this issue May 30, 2014 · 0 comments

Comments

@braibant
Copy link

Hi,

The following .emacs snippet

(load-file "<OPAM_ROOT>/share/typerex/ocp-index/ocp-index.el")

could be replaced by

  (add-to-list 'load-path (concat
     (replace-regexp-in-string "\n$" ""
        (shell-command-to-string "opam config var share"))
     "/emacs/site-lisp"))
  (require 'ocp-index).

(this is what is proposed when installing ocp-index)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant