From: Richard M. Stallman Date: Thu, 18 Feb 1999 07:24:11 +0000 (+0000) Subject: (turn-on-auto-fill): Mark it as an option for `text-mode-hook'. X-Git-Tag: emacs-20.4~606 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cbf1dc1d32e76e7177b407c11512c654a2bb00b;p=emacs.git (turn-on-auto-fill): Mark it as an option for `text-mode-hook'. --- diff --git a/lisp/simple.el b/lisp/simple.el index 38bea602eb5..18f8bc9a4b9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3138,6 +3138,7 @@ for `auto-fill-function' when turning Auto Fill mode on." (defun turn-on-auto-fill () "Unconditionally turn on Auto Fill mode." (auto-fill-mode 1)) +(custom-add-option 'text-mode-hook 'turn-on-auto-fill) (defun set-fill-column (arg) "Set `fill-column' to specified argument.