[erlang-questions] flymake include dir

Tim Watson watson.timothy@REDACTED
Thu Jan 16 16:14:07 CET 2014

It works for me: https://raw.github.com/hyperthunk/bashtools/master/.emacs

The only caveat is that `M-x compile' tends to only work if you run it from the project's root directory.


On 16 Jan 2014, at 15:00, Dror Mein wrote:

> not completely an erlang question:
> I've tried to hack my code with the elisp from here:
> http://blog.erlware.org/2012/05/15/getting-flymake-and-rebar-to-play-nice/
> and I can't get it to work. 
> I've copied this code inside .emacs under the (require 'erlang-flymake) and I have a rebar.config in the top of my project directory and It's not working. 
> so I've tried perhaps to do this simpler. 
> I've got a rebar.config file that has {erl_opts, [{i, path\to\include\dir} ]}
> I want a simple elisp code that looks something like this:
> (set (make-local-variable 'compile-command) "rebar compile")
> thanks
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140116/8092686e/attachment.htm>

More information about the erlang-questions mailing list