From: Stefan Monnier Date: Wed, 16 Mar 2005 13:11:34 +0000 (+0000) Subject: (auto-fill-function): Use the new :minor-mode-function property. X-Git-Tag: ttn-vms-21-2-B4~1770 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c75505b4b79c020bc616b13d719d365b3a6fa513;p=emacs.git (auto-fill-function): Use the new :minor-mode-function property. --- 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.") "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)