Improve modeline function name consistency

This commit is contained in:
Henrik Lissner 2016-09-28 13:53:47 +02:00
parent 3eae00e4f9
commit 2f12e49a13
3 changed files with 6 additions and 6 deletions

View file

@ -273,7 +273,7 @@ buffers regardless of project."
(new-buf (get-buffer-create "*doom:scratch*")))
(with-current-buffer new-buf
(setq default-directory old-project)
(setq mode-line-format (doom-mode-line 'scratch))
(setq mode-line-format (doom-modeline 'scratch))
(when (and (not (eq major-mode mode))
(functionp mode))
(funcall mode))