restore spacemacs/new-empty-buffer

This commit is contained in:
d12frosted 2015-09-10 14:26:57 +03:00 committed by syl20bnr
parent c33a1db41a
commit 82be34d36f
1 changed files with 6 additions and 0 deletions

View File

@ -428,6 +428,12 @@ argument takes the kindows rotate backwards."
(ediff-files (dotspacemacs/location)
(concat dotspacemacs-template-directory ".spacemacs.template")))
(defun spacemacs/new-empty-buffer ()
"Create a new buffer called untitled(<n>)"
(interactive)
(let ((newbuf (generate-new-buffer-name "untitled")))
(switch-to-buffer newbuf)))
(defun spacemacs/home ()
"Go to home Spacemacs buffer"
(interactive)