aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-04-20 02:11:52 +0000
committerKenichi Handa1998-04-20 02:11:52 +0000
commit349325d45f19beb649b0b4f8ec682c3e3a98127d (patch)
tree2c287fede34fc492fd54df643ffd127736b16ac4
parent25709c0dda35cf54e250c8f73278da47fc51020b (diff)
downloademacs-349325d45f19beb649b0b4f8ec682c3e3a98127d.tar.gz
emacs-349325d45f19beb649b0b4f8ec682c3e3a98127d.zip
(quail-start-translation): Bind
prefix-arg to current-prefix-arg. (quail-mode): Doc-string modified.
-rw-r--r--lisp/international/quail.el18
1 files changed, 11 insertions, 7 deletions
diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index ded94b76d02..c019586133c 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -537,12 +537,16 @@ non-Quail commands."
537 "Toggle Quail minor mode. 537 "Toggle Quail minor mode.
538With arg, turn Quail mode on if and only if arg is positive. 538With arg, turn Quail mode on if and only if arg is positive.
539 539
540You should not turn on and off Quail mode manually, instead use 540In Quail mode, all printable characters are bound to
541the commands `toggle-input-method' or `set-input-method' (which 541`quail-start-translation'. This function checks if the current input
542see). They automatically turn on or off this mode. 542method will translate the last input key. If not, the key is handled
543 543out of Quail mode, i.e, in another activated minor mode or in the
544Try \\[describe-bindings] in Quail mode to see the available key bindings. 544current major mode.
545The command \\[describe-input-method] describes the current Quail package." 545\\{quail-mode-map}
546Unlike the other minor modes, this is not an interactive function.
547Use the commands \\[toggle-input-method] (`toggle-input-method') or
548\\[set-input-method] (`set-input-method') which automatically turn on
549Quail mode with an appropriate Quail package, or turn it off."
546 (setq quail-mode 550 (setq quail-mode
547 (if (null arg) (null quail-mode) 551 (if (null arg) (null quail-mode)
548 (> (prefix-numeric-value arg) 0))) 552 (> (prefix-numeric-value arg) 0)))
@@ -988,7 +992,7 @@ The returned value is a Quail map specific to KEY."
988(defun quail-start-translation (arg) 992(defun quail-start-translation (arg)
989 "Start translating the typed character in Quail mode." 993 "Start translating the typed character in Quail mode."
990 (interactive "*p") 994 (interactive "*p")
991 (setq prefix-arg arg) 995 (setq prefix-arg current-prefix-arg)
992 (setq quail-prefix-arg arg) 996 (setq quail-prefix-arg arg)
993 (setq unread-command-events 997 (setq unread-command-events
994 (cons last-command-event unread-command-events)) 998 (cons last-command-event unread-command-events))