Mercurial > emacs
changeset 60645:b532848a1806
(auto-fill-function): Use the new :minor-mode-function property.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 16 Mar 2005 13:11:34 +0000 |
parents | 9b106d739bf9 |
children | b8d318a41aae |
files | lisp/simple.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)