made mu4e view mode use visual line mode

This commit is contained in:
ndwarshuis 2018-09-26 21:29:00 -04:00
parent 21670bcb6c
commit 2f6cc71ee8
1 changed files with 4 additions and 2 deletions

View File

@ -1933,11 +1933,13 @@ Signatures take lots of space and make short messages look needlessly clunky, so
"ndwarshuis3@gatech.edu")
"\n"))
#+END_SRC
*** compose
By default mu4e adds breaks after 80-ish chars using auto-fill-mode which makes messages look weird when opened anywhere else. =Visual-line-mode= avoids this probem.
*** visual-line-mode
By default mu4e adds breaks after 80-ish chars using auto-fill-mode which makes messages look weird when opened. =Visual-line-mode= avoids this problem.
#+BEGIN_SRC emacs-lisp
(add-hook 'mu4e-compose-mode-hook 'turn-off-auto-fill)
(add-hook 'mu4e-compose-mode-hook 'visual-line-mode)
(add-hook 'mu4e-view-mode-hook 'turn-off-auto-fill)
(add-hook 'mu4e-view-mode-hook 'visual-line-mode)
#+END_SRC
** auctex
#+BEGIN_SRC emacs-lisp