Emacs: Add function to create new buffer