diff lisp/simple.el @ 4681:64ac4337298b

Implement turn-off-auto-fill. simple.el (turn-off-auto-fill): Sync from FSF 21.4.
author Malcolm Purvis <malcolmp@xemacs.org>
date Wed, 19 Aug 2009 23:06:32 +1000
parents 891381effa11
children 02b7c7189041
line wrap: on
line diff
--- a/lisp/simple.el	Tue Aug 18 12:34:34 2009 +0100
+++ b/lisp/simple.el	Wed Aug 19 23:06:32 2009 +1000
@@ -3060,6 +3060,11 @@
   (interactive)
   (auto-fill-mode 1))
 
+(defun turn-off-auto-fill ()
+  "Unconditionally turn off Auto Fill mode."
+  (interactive)
+  (auto-fill-mode -1))
+
 (defun set-fill-column (arg)
   "Set `fill-column' to specified argument.
 Just \\[universal-argument] as argument means to use the current column