Refactor ui/doom-modeline (remove powerline dependency)

This commit is contained in:
Henrik Lissner 2017-02-13 04:52:08 -05:00
parent 24ca2a4163
commit 13a8901b20
3 changed files with 84 additions and 37 deletions

View file

@ -15,7 +15,7 @@ use the current window."
(new-buf (get-buffer-create " *doom:scratch*")))
(with-current-buffer new-buf
(setq default-directory old-project
mode-line-format (assq 'minimal doom-modeline-formats))
mode-line-format (doom-modeline 'minimal))
(when (and (not (eq major-mode mode))
(functionp mode))
(funcall mode))