diff options
author | Stefan Monnier <[email protected]> | 2005-03-16 13:11:34 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2005-03-16 13:11:34 +0000 |
commit | c75505b4b79c020bc616b13d719d365b3a6fa513 (patch) | |
tree | 03c2f674eaa523923686ea5c9217af22ce043ced | |
parent | af5f44838542c202571ebf2125b4341114852544 (diff) |
(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 d3624fc0a9..e154d56ea6 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3925,6 +3925,7 @@ Setting this variable automatically makes it local to the current buffer.") "The function to use for `auto-fill-function' if Auto Fill mode is turned on. Some major modes set this.") +(put 'auto-fill-function :minor-mode-function 'auto-fill-mode) ;; FIXME: turn into a proper minor mode. ;; Add a global minor mode version of it. (defun auto-fill-mode (&optional arg) |