Revise README

This commit is contained in:
Henrik Lissner 2016-10-05 21:50:34 +02:00
parent dd07f33ca5
commit 87da6ab784
2 changed files with 76 additions and 50 deletions

View file

@ -298,7 +298,7 @@ then include buffers that aren't part of the current project."
(new-buf (get-buffer-create "*doom:scratch*")))
(with-current-buffer new-buf
(setq default-directory old-project)
(setq mode-line-format (doom-modeline 'scratch))
(setq mode-line-format (doom-modeline))
(when (and (not (eq major-mode mode))
(functionp mode))
(funcall mode))