changeset 24343:d00b069a7d17

(turn-on-auto-fill): Mark it as an option for `text-mode-hook'.
author Richard M. Stallman <rms@gnu.org>
date Thu, 18 Feb 1999 07:24:11 +0000
parents 39caae99e25d
children 8b7ef7fb9e2e
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Thu Feb 18 05:40:34 1999 +0000
+++ b/lisp/simple.el	Thu Feb 18 07:24:11 1999 +0000
@@ -3138,6 +3138,7 @@
 (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.