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

Dominic Williams xpdoka@REDACTED
Mon Jun 11 16:05:15 CEST 2007


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

----




More information about the erlang-questions mailing list