mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
doom-modeline no longer errors out, in case a modeline doesn't exist; add doom-set-modeline
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user