changeset 26598:7c28a5765af4

(text-mode-hook): Customize.
author Dave Love <fx@gnu.org>
date Thu, 25 Nov 1999 19:00:17 +0000
parents 424ca4b6d517
children e10a1d0deb4b
files lisp/textmodes/text-mode.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/text-mode.el	Thu Nov 25 15:26:37 1999 +0000
+++ b/lisp/textmodes/text-mode.el	Thu Nov 25 19:00:17 1999 +0000
@@ -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.")