Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
4680:891381effa11 | 4681:64ac4337298b |
---|---|
3058 (defun turn-on-auto-fill () | 3058 (defun turn-on-auto-fill () |
3059 "Unconditionally turn on Auto Fill mode." | 3059 "Unconditionally turn on Auto Fill mode." |
3060 (interactive) | 3060 (interactive) |
3061 (auto-fill-mode 1)) | 3061 (auto-fill-mode 1)) |
3062 | 3062 |
3063 (defun turn-off-auto-fill () | |
3064 "Unconditionally turn off Auto Fill mode." | |
3065 (interactive) | |
3066 (auto-fill-mode -1)) | |
3067 | |
3063 (defun set-fill-column (arg) | 3068 (defun set-fill-column (arg) |
3064 "Set `fill-column' to specified argument. | 3069 "Set `fill-column' to specified argument. |
3065 Just \\[universal-argument] as argument means to use the current column | 3070 Just \\[universal-argument] as argument means to use the current column |
3066 The variable `fill-column' has a separate value for each buffer." | 3071 The variable `fill-column' has a separate value for each buffer." |
3067 (interactive "_P") ; XEmacs | 3072 (interactive "_P") ; XEmacs |