[Emacs] Fix line wrapping in mu4e

This commit is contained in:
Lucien Cartier-Tilet 2021-12-04 14:18:01 +01:00
parent 1301eaf0a9
commit 653e117c8f
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1421,6 +1421,10 @@ configuration for the ~mu4e~ package itself.
`(lambda () (visual-line-mode 1))) `(lambda () (visual-line-mode 1)))
:gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare)) :gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare))
:config :config
(add-hook 'mu4e-view-mode-hook (lambda () (setq truncate-lines nil)))
(add-hook 'mu4e-headers-mode-hook (lambda () (setq truncate-lines t)))
<<mu4e-keybindings-undef>> <<mu4e-keybindings-undef>>
<<mu4e-keybindings-view>> <<mu4e-keybindings-view>>
<<mu4e-keybindings-view-no-prefix>> <<mu4e-keybindings-view-no-prefix>>