Playing around with erlang and emacs I almost always forget to save the buffer before compiling it so I get an almost unnecessary prompt. Not so much  time spent  but it annoys a bit. And pressing C-x C-s takes some time also :)
<br>Does anybody know how to run saving automatically before compilation?<br><br>Regards,<br>Kirill. <br>