changeset 29808:fa2c8534a53a

(turn-off-auto-fill): New function.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 20 Jun 2000 18:24:59 +0000
parents e4668ff0692c
children 88aa46c9dfde
files lisp/simple.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Jun 20 18:24:35 2000 +0000
+++ b/lisp/simple.el	Tue Jun 20 18:24:59 2000 +0000
@@ -2868,6 +2868,11 @@
 (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)