Emacs: Fix dash hook creation