ui/doom: centralize doom-buffer-mode activation

This commit is contained in:
Henrik Lissner 2017-05-16 11:39:03 +02:00
parent 4ede35129d
commit d8e3d853a9
8 changed files with 12 additions and 21 deletions

View file

@ -149,10 +149,6 @@
(when (featurep! :feature spellcheck)
(add-hook 'mu4e-compose-mode-hook #'flyspell-mode))
;; Brighter + no mode-line in message windows
(after! doom-themes
(add-hook 'mu4e-view-mode-hook #'doom-buffer-mode))
;; Wrap text in messages
(add-hook! 'mu4e-view-mode-hook
(setq-local truncate-lines nil))