From: Gerd Moellmann Date: Tue, 20 Jun 2000 18:24:59 +0000 (+0000) Subject: (turn-off-auto-fill): New function. X-Git-Tag: emacs-pretest-21.0.90~3180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a99c8191b7eaa2ad28b1e2baef170c59dc28ee0;p=emacs.git (turn-off-auto-fill): New function. --- 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)