emacs: use custom function for killing current buffer