erlang mode hook added