added flyspell to mu4e

This commit is contained in:
ndwarshuis 2018-11-08 19:41:52 -05:00
parent 13059454cf
commit 3a9743e291
1 changed files with 5 additions and 0 deletions

View File

@ -2170,6 +2170,11 @@ By default mu4e adds breaks after 80-ish chars using auto-fill-mode which makes
(add-hook 'mu4e-view-mode-hook 'turn-off-auto-fill) (add-hook 'mu4e-view-mode-hook 'turn-off-auto-fill)
(add-hook 'mu4e-view-mode-hook 'visual-line-mode) (add-hook 'mu4e-view-mode-hook 'visual-line-mode)
#+END_SRC #+END_SRC
*** flyspell
Spell checking is generally a good idea when writing to pointy-haired bosses.
#+BEGIN_SRC emacs-lisp
(add-hook 'mu4e-compose-mode-hook (lambda () (flyspell-mode 1)))
#+END_SRC
** auctex ** auctex
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(load "auctex.el" nil t t) (load "auctex.el" nil t t)