diff options
| author | Stefan Monnier | 2005-03-16 13:11:34 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-03-16 13:11:34 +0000 |
| commit | c75505b4b79c020bc616b13d719d365b3a6fa513 (patch) | |
| tree | 03c2f674eaa523923686ea5c9217af22ce043ced | |
| parent | af5f44838542c202571ebf2125b4341114852544 (diff) | |
| download | emacs-c75505b4b79c020bc616b13d719d365b3a6fa513.tar.gz emacs-c75505b4b79c020bc616b13d719d365b3a6fa513.zip | |
(auto-fill-function): Use the new :minor-mode-function property.
| -rw-r--r-- | lisp/simple.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index d3624fc0a9c..e154d56ea66 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3925,6 +3925,7 @@ Setting this variable automatically makes it local to the current buffer.") | |||
| 3925 | "The function to use for `auto-fill-function' if Auto Fill mode is turned on. | 3925 | "The function to use for `auto-fill-function' if Auto Fill mode is turned on. |
| 3926 | Some major modes set this.") | 3926 | Some major modes set this.") |
| 3927 | 3927 | ||
| 3928 | (put 'auto-fill-function :minor-mode-function 'auto-fill-mode) | ||
| 3928 | ;; FIXME: turn into a proper minor mode. | 3929 | ;; FIXME: turn into a proper minor mode. |
| 3929 | ;; Add a global minor mode version of it. | 3930 | ;; Add a global minor mode version of it. |
| 3930 | (defun auto-fill-mode (&optional arg) | 3931 | (defun auto-fill-mode (&optional arg) |