emacs: add some missing defuns