From: Dave Love Date: Thu, 25 Nov 1999 19:00:17 +0000 (+0000) Subject: (text-mode-hook): Customize. X-Git-Tag: emacs-pretest-21.0.90~5972 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e144fd4e478ee34f90cee96cc76824d0a366f052;p=emacs.git (text-mode-hook): Customize. --- diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 0c4be23ab60..63e5c3dc042 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el @@ -28,8 +28,11 @@ ;;; Code: -(defvar text-mode-hook nil - "Normal hook run when entering Text mode and many related modes.") +(defcustom text-mode-hook nil + "Normal hook run when entering Text mode and many related modes." + :type 'hook + :options '(turn-on-auto-fill) + :group 'data) (defvar text-mode-variant nil "Non-nil if this buffer's major mode is a variant of Text mode.")