Mercurial > emacs
comparison lisp/simple.el @ 29808:fa2c8534a53a
(turn-off-auto-fill): New function.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 20 Jun 2000 18:24:59 +0000 |
parents | a4d9a2ab3c73 |
children | df730ad35266 |
comparison
equal
deleted
inserted
replaced
29807:e4668ff0692c | 29808:fa2c8534a53a |
---|---|
2866 nil) | 2866 nil) |
2867 | 2867 |
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) |
2874 "Set `fill-column' to specified argument. | 2879 "Set `fill-column' to specified argument. |
2875 Use \\[universal-argument] followed by a number to specify a column. | 2880 Use \\[universal-argument] followed by a number to specify a column. |