name forked scratch buffer *scratch* not *autoscratch*

This commit is contained in:
Thomas von Dein
2017-07-17 17:13:49 +02:00
parent 8e7c476216
commit b175201437

View File

@@ -143,7 +143,7 @@ Executes `autoscratch-rename-hook' afterwards."
(defun autoscratch-buffer () (defun autoscratch-buffer ()
"Create and switch to a new autoscratch buffer." "Create and switch to a new autoscratch buffer."
(interactive) (interactive)
(let ((buf (get-buffer-create "*autoscratch*"))) (let ((buf (get-buffer-create "*scratch*")))
(switch-to-buffer buf) (switch-to-buffer buf)
(autoscratch-mode))) (autoscratch-mode)))