Add local configuration hook to Emacs