diff leim/leim-ext.el @ 57179:9f1b3f7445fb

Add autoload for 'ucs-input-activate and register-input-method for "ucs".
author Kenichi Handa <handa@m17n.org>
date Tue, 21 Sep 2004 02:23:32 +0000
parents 5ad72ade5450
children 8db64e24d5dc
line wrap: on
line diff
--- a/leim/leim-ext.el	Tue Sep 21 01:11:31 2004 +0000
+++ b/leim/leim-ext.el	Tue Sep 21 02:23:32 2004 +0000
@@ -34,4 +34,14 @@
 (eval-after-load "quail/PY-b5"
   '(quail-defrule "ling2" ?$(0!r(B nil t))
 
+(autoload 'ucs-input-activate "quail/uni-input"
+  "Activate UCS input method.
+With arg, activate UCS input method if and only if arg is positive.
+
+While this input method is active, the variable
+`input-method-function' is bound to the function `ucs-input-method'.")
+
+(register-input-method "ucs" "UTF-8" 'ucs-input-activate "U+"
+		       "Unicode input as hex in the form Uxxxx.")
+
 ;; arch-tag: 75cfdfc7-de85-44f9-b408-ff67d1ec664e