From 3573bdbe0fe147105743f734dfdbca69f1464486 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 5 Sep 2001 12:01:51 +0000 Subject: [PATCH] (quail-use-package, quail-inactivate) (quail-activate): Mention the hooks these functions run in their doc strings. --- lisp/international/quail.el | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/international/quail.el b/lisp/international/quail.el index 9a68304288a..7872d22e839 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -221,7 +221,10 @@ Conversion keymap is a keymap used while conversion region is active ;;;###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 @@ non-Quail commands." (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 @@ non-Quail commands." "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 -- 2.39.2