aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2007-11-06 01:31:22 +0000
committerKenichi Handa2007-11-06 01:31:22 +0000
commit0cf8a90695788dd84dbc4fe0d90498f6a2c78bff (patch)
treebf4b8ec4e00943b1777995221b165ea5a9e2928a
parentbdbeca7b20c91dfdee9d9a4faa0ebd5c2ff21397 (diff)
downloademacs-0cf8a90695788dd84dbc4fe0d90498f6a2c78bff.tar.gz
emacs-0cf8a90695788dd84dbc4fe0d90498f6a2c78bff.zip
(Select Input Method): Describe how to activate an input
method in the text mode.
-rw-r--r--doc/emacs/mule.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index c71c820dc27..0def4bc5c3e 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -534,6 +534,18 @@ set-language-environment-hook}). For example:
534This sets the default input method to be @code{chinese-tonepy} 534This sets the default input method to be @code{chinese-tonepy}
535whenever you choose a Chinese-GB language environment. 535whenever you choose a Chinese-GB language environment.
536 536
537You can instruct Emacs to activate a certain input method
538automatically. For example:
539
540@lisp
541(add-hook 'text-mode-hook
542 (lambda () (set-input-method "german-prefix")))
543@end lisp
544
545@noindent
546This activates the input emthod ``german-prefix'' automatically in the
547Text mode.
548
537@findex quail-set-keyboard-layout 549@findex quail-set-keyboard-layout
538 Some input methods for alphabetic scripts work by (in effect) 550 Some input methods for alphabetic scripts work by (in effect)
539remapping the keyboard to emulate various keyboard layouts commonly used 551remapping the keyboard to emulate various keyboard layouts commonly used