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

Kirill Zaborski qrilka@REDACTED
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 <
xpdoka-dated-1182002717.31a775@REDACTED> 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.htm>


More information about the erlang-questions mailing list