mu4e-view-mode-hook: define explicitly

Explicit offer `turn-on-visual-line-mode' as hook function.
This commit is contained in:
Jonas Bernoulli 2012-12-12 20:05:57 +01:00
parent cd5f730222
commit 4e6824dd69
1 changed files with 6 additions and 0 deletions

View File

@ -656,6 +656,12 @@ FUNC should be a function taking two arguments:
(fset 'mu4e-view-mode-map mu4e-view-mode-map)
(defcustom mu4e-view-mode-hook nil
"Hook run when entering Mu4e-View mode."
:options '(turn-on-visual-line-mode)
:type 'hook
:group 'mu4e-view)
(defvar mu4e-view-mode-abbrev-table nil)
(define-derived-mode mu4e-view-mode special-mode "mu4e:view"
"Major mode for viewing an e-mail message in mu4e.