From 843471947851ed7580d50eb831a481a867fddb66 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Sun, 12 Mar 2000 15:22:14 +0000 Subject: [PATCH] (text-mode-hook): Add flyspell-mode to :options. --- lisp/textmodes/text-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 6277d344203..41728618cbd 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el @@ -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." (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)) -- 2.39.5