From 3a99c8191b7eaa2ad28b1e2baef170c59dc28ee0 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 20 Jun 2000 18:24:59 +0000 Subject: [PATCH] (turn-off-auto-fill): New function. --- lisp/simple.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/simple.el b/lisp/simple.el index 228ff1b350b..69b72639d97 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2868,6 +2868,11 @@ 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)) + +(defun turn-off-auto-fill () + "Unconditionally turn off Auto Fill mode." + (auto-fill-mode -1)) + (custom-add-option 'text-mode-hook 'turn-on-auto-fill) (defun set-fill-column (arg) -- 2.39.2