From c75505b4b79c020bc616b13d719d365b3a6fa513 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 16 Mar 2005 13:11:34 +0000 Subject: [PATCH] (auto-fill-function): Use the new :minor-mode-function property. --- lisp/simple.el | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2