[erlang-questions] Autosaving *.erl in emacs before compilation

Kirill Zaborski <>
Mon Jun 11 16:24:29 CEST 2007


Thanks Dominic!
Looks not very different from Jim's solution but works :)

Regards,
Kirill.

On 6/11/07, Dominic Williams <
> wrote:
>
> Hi Kirill,
>
> > Does anybody know how to run saving automatically before compilation?
>
> You can bind save + compile to F9 like this:
>
> (global-set-key [f9] (lambda () (interactive) (progn (save-buffer)
> (erlang-compile))))
>
> Regards,
>
> Dominic Williams
> http://dominicwilliams.net
>
> ----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070611/9da30220/attachment.html>


More information about the erlang-questions mailing list