From 0cf8a90695788dd84dbc4fe0d90498f6a2c78bff Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 6 Nov 2007 01:31:22 +0000 Subject: [PATCH] (Select Input Method): Describe how to activate an input method in the text mode. --- doc/emacs/mule.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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: This sets the default input method to be @code{chinese-tonepy} whenever you choose a Chinese-GB language environment. +You can instruct Emacs to activate a certain input method +automatically. For example: + +@lisp +(add-hook 'text-mode-hook + (lambda () (set-input-method "german-prefix"))) +@end lisp + +@noindent +This activates the input emthod ``german-prefix'' automatically in the +Text mode. + @findex quail-set-keyboard-layout Some input methods for alphabetic scripts work by (in effect) remapping the keyboard to emulate various keyboard layouts commonly used -- 2.39.2