Small emacs update, add .tpl hook