Skip to content

Instantly share code, notes, and snippets.

@olgeni
Created March 11, 2019 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olgeni/8eb3704ab81718aa5e1515b9be38a222 to your computer and use it in GitHub Desktop.
Save olgeni/8eb3704ab81718aa5e1515b9be38a222 to your computer and use it in GitHub Desktop.
Making rebar3 and Emacs erlang-mode cooperate
(defun rebar-inferior-erlang-compile-outdir (orig &rest args)
(concat (projectile-project-root) "_build/default/lib/" (projectile-project-name) "/ebin"))
(advice-add 'inferior-erlang-compile-outdir :around 'rebar-inferior-erlang-compile-outdir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment