changeset 28108:0d9cac36402a

(text-mode-hook): Add flyspell-mode to :options.
author Dave Love <fx@gnu.org>
date Sun, 12 Mar 2000 15:22:14 +0000
parents 7a7b3b2c177a
children 2f4ab9eb303c
files lisp/textmodes/text-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/text-mode.el	Sun Mar 12 15:22:03 2000 +0000
+++ b/lisp/textmodes/text-mode.el	Sun Mar 12 15:22:14 2000 +0000
@@ -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 @@
 	(delete-horizontal-space)
 	(setq line-length (current-column))
 	(if (> (- fill-column lm line-length) 0)
-	    (indent-line-to 
+	    (indent-line-to
 	     (+ lm (/ (- fill-column lm line-length) 2))))))
     (cond ((null nlines)
 	   (setq nlines 0))