# HG changeset patch # User Stefan Monnier # Date 1110978694 0 # Node ID b532848a180666510dcf1875116436b8bbca9688 # Parent 9b106d739bf9c3c58a8a3a8394a4448736fbbda6 (auto-fill-function): Use the new :minor-mode-function property. diff -r 9b106d739bf9 -r b532848a1806 lisp/simple.el --- a/lisp/simple.el Wed Mar 16 13:08:15 2005 +0000 +++ b/lisp/simple.el Wed Mar 16 13:11:34 2005 +0000 @@ -3925,6 +3925,7 @@ "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)