From e144fd4e478ee34f90cee96cc76824d0a366f052 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 25 Nov 1999 19:00:17 +0000 Subject: [PATCH] (text-mode-hook): Customize. --- lisp/textmodes/text-mode.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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.") -- 2.39.5