# HG changeset patch # User Kenichi Handa # Date 1140518721 0 # Node ID a2899387f787495c78418fb6d7004c27612f966a # Parent 696f125c3c6ac73643ecda5170f6913265db3e80 (auto-composition-mode): Add autoload cookie. (global-auto-composition-mode): Likewise. diff -r 696f125c3c6a -r a2899387f787 lisp/composite.el --- a/lisp/composite.el Tue Feb 21 10:15:48 2006 +0000 +++ b/lisp/composite.el Tue Feb 21 10:45:21 2006 +0000 @@ -472,6 +472,7 @@ (make-variable-buffer-local 'auto-composition-function) +;;;###autoload (define-minor-mode auto-composition-mode "Toggle Auto Compostion mode. With arg, turn Auto Compostion mode off if and only if arg is a non-positive @@ -535,9 +536,9 @@ (put-text-property start end 'auto-composed nil))))) (defun turn-on-auto-composition-if-enabled () - (or auto-composition-mode - (auto-composition-mode))) + (auto-composition-mode 1)) +;;;###autoload (define-global-minor-mode global-auto-composition-mode auto-composition-mode turn-on-auto-composition-if-enabled :extra-args (dummy)