tags:

views:

120

answers:

1

Hello,

Does anyone know how to configure Erlang emacs mode so that compiling a buffer [C-c C-k] writes the beam file to the ebin directory rather than the current directory ?

Thanks!

+1  A: 

You might want to have a look to this thread on the Erlang Questions Mailing List:

http://www.erlang.org/pipermail/erlang-questions/2007-August/028367.html

Moreover, you should be able to compile your file in debug mode: C-u C-c C-k

The erlang-compile command should support prefix arguments. You might want to have a look to:

http://www.gnu.org/software/emacs/manual/html%5Fnode/elisp/Prefix-Command-Arguments.html

Roberto Aloi