doom-modeline no longer errors out, in case a modeline doesn't exist; add doom-set-modeline

This commit is contained in:
Henrik Lissner 2017-04-25 18:25:54 -04:00
parent b006e9d0dc
commit 8e7aa152bb
5 changed files with 25 additions and 15 deletions

View file

@ -22,7 +22,7 @@
(add-hook 'twittering-mode-hook #'doom-buffer-mode))
(add-hook! twittering-mode
(setq header-line-format (doom-modeline 'twitter)
(setq header-line-format (or (doom-modeline 'twitter) mode-line-format)
mode-line-format nil))
(map! :map twittering-mode-map