diff options
| author | Gerd Moellmann | 2000-06-20 18:24:59 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-06-20 18:24:59 +0000 |
| commit | 3a99c8191b7eaa2ad28b1e2baef170c59dc28ee0 (patch) | |
| tree | 78715086e7b6058d903a8b6a4c348b6b72e92fb8 | |
| parent | e7cec0051a644c11a04d8909c9a7bf3ad376016f (diff) | |
| download | emacs-3a99c8191b7eaa2ad28b1e2baef170c59dc28ee0.tar.gz emacs-3a99c8191b7eaa2ad28b1e2baef170c59dc28ee0.zip | |
(turn-off-auto-fill): New function.
| -rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 5 insertions, 0 deletions
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." | |||
| 2868 | (defun turn-on-auto-fill () | 2868 | (defun turn-on-auto-fill () |
| 2869 | "Unconditionally turn on Auto Fill mode." | 2869 | "Unconditionally turn on Auto Fill mode." |
| 2870 | (auto-fill-mode 1)) | 2870 | (auto-fill-mode 1)) |
| 2871 | |||
| 2872 | (defun turn-off-auto-fill () | ||
| 2873 | "Unconditionally turn off Auto Fill mode." | ||
| 2874 | (auto-fill-mode -1)) | ||
| 2875 | |||
| 2871 | (custom-add-option 'text-mode-hook 'turn-on-auto-fill) | 2876 | (custom-add-option 'text-mode-hook 'turn-on-auto-fill) |
| 2872 | 2877 | ||
| 2873 | (defun set-fill-column (arg) | 2878 | (defun set-fill-column (arg) |