review erlang-mode setup
cleanup-buffer-safe is attached to before-save-hook