1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(turn-off-auto-fill): New function.

This commit is contained in:
Gerd Moellmann 2000-06-20 18:24:59 +00:00
parent e7cec0051a
commit 3a99c8191b

View 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)