Does anybody know how to also add the distel module reloading to the compile shortcut ?<br><br>I tried with:<br><br>(global-set-key [f9] (lambda () (interactive) (progn (save-buffer) (erlang-compile) (erl-reload-modules))))
<br><br>but got this error message:<br><br>Waiting for Erlang shell prompt (press C-g to abort). [2 times]<br>progn: Wrong number of arguments: (lambda (node) "reload all out-of-date modules" (interactive (list (erl-target-node))) (erl-rpc (lambda (result) (message "load: %s" result)) nil node (quote distel) (quote reload_modules) nil)), 0
<br><br>-- <br>Roberto Saccon