# HG changeset patch # User Dave Love # Date 952874534 0 # Node ID 0d9cac36402a01174403bf99904e461903c23e86 # Parent 7a7b3b2c177afd0aa49cecb1fc47a88bac12a295 (text-mode-hook): Add flyspell-mode to :options. diff -r 7a7b3b2c177a -r 0d9cac36402a lisp/textmodes/text-mode.el --- 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))