(turn-off-auto-fill): New function.
authorGerd Moellmann <gerd@gnu.org>
Tue, 20 Jun 2000 18:24:59 +0000 (18:24 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 20 Jun 2000 18:24:59 +0000 (18:24 +0000)
lisp/simple.el

index 228ff1b..69b7263 100644 (file)
@@ -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)