diff options
| author | Kenichi Handa | 1998-04-20 02:11:52 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-04-20 02:11:52 +0000 |
| commit | 349325d45f19beb649b0b4f8ec682c3e3a98127d (patch) | |
| tree | 2c287fede34fc492fd54df643ffd127736b16ac4 | |
| parent | 25709c0dda35cf54e250c8f73278da47fc51020b (diff) | |
| download | emacs-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.el | 18 |
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. |
| 538 | With arg, turn Quail mode on if and only if arg is positive. | 538 | With arg, turn Quail mode on if and only if arg is positive. |
| 539 | 539 | ||
| 540 | You should not turn on and off Quail mode manually, instead use | 540 | In Quail mode, all printable characters are bound to |
| 541 | the commands `toggle-input-method' or `set-input-method' (which | 541 | `quail-start-translation'. This function checks if the current input |
| 542 | see). They automatically turn on or off this mode. | 542 | method will translate the last input key. If not, the key is handled |
| 543 | 543 | out of Quail mode, i.e, in another activated minor mode or in the | |
| 544 | Try \\[describe-bindings] in Quail mode to see the available key bindings. | 544 | current major mode. |
| 545 | The command \\[describe-input-method] describes the current Quail package." | 545 | \\{quail-mode-map} |
| 546 | Unlike the other minor modes, this is not an interactive function. | ||
| 547 | Use the commands \\[toggle-input-method] (`toggle-input-method') or | ||
| 548 | \\[set-input-method] (`set-input-method') which automatically turn on | ||
| 549 | Quail 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)) |