Added emacs functions.