Refactor ui/doom-modeline (remove powerline dependency)
This commit is contained in:
parent
24ca2a4163
commit
13a8901b20
3 changed files with 84 additions and 37 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue