Mercurial > emacs
changeset 39143:b73fe7fe3c9f
(quail-use-package, quail-inactivate)
(quail-activate): Mention the hooks these functions run in their
doc strings.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 05 Sep 2001 12:01:51 +0000 |
parents | 449f9371ac14 |
children | 7baf228a27e6 |
files | lisp/international/quail.el |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/quail.el Wed Sep 05 11:09:45 2001 +0000 +++ b/lisp/international/quail.el Wed Sep 05 12:01:51 2001 +0000 @@ -221,7 +221,10 @@ ;;;###autoload (defun quail-use-package (package-name &rest libraries) "Start using Quail package PACKAGE-NAME. -The remaining arguments are libraries to be loaded before using the package." +The remaining arguments are libraries to be loaded before using the package. + +This activates input method defined by PACKAGE-NAME by running +`quail-activate', which see." (let ((package (quail-package package-name))) (if (null package) ;; Perhaps we have not yet loaded necessary libraries. @@ -529,7 +532,9 @@ (kill-buffer quail-guidance-buf))) (defun quail-inactivate () - "Inactivate Quail input method." + "Inactivate Quail input method. + +This function runs the normal hook `quail-inactivate-hook'." (interactive) (quail-activate -1)) @@ -537,6 +542,9 @@ "Activate Quail input method. With arg, activate Quail input method if and only if arg is positive. +This function runs `quail-activate-hook' if it activates the input +method, `quail-inactivate-hook' if it deactivates it. + While this input method is active, the variable `input-method-function' is bound to the function `quail-input-method'." (if (and arg