Created
March 11, 2019 15:27
-
-
Save olgeni/8eb3704ab81718aa5e1515b9be38a222 to your computer and use it in GitHub Desktop.
Making rebar3 and Emacs erlang-mode cooperate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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