Commit 84347194 authored by Dave Love's avatar Dave Love
Browse files

(text-mode-hook): Add flyspell-mode to

parent bdec99ee
......@@ -31,7 +31,7 @@
(defcustom text-mode-hook nil
"Normal hook run when entering Text mode and many related modes."
:type 'hook
:options '(turn-on-auto-fill)
:options '(turn-on-auto-fill flyspell-mode)
:group 'data)
(defvar text-mode-variant nil
......@@ -192,7 +192,7 @@ The argument NLINES says how many lines to center."
(setq line-length (current-column))
(if (> (- fill-column lm line-length) 0)
(+ lm (/ (- fill-column lm line-length) 2))))))
(cond ((null nlines)
(setq nlines 0))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment