]> git.eshelyaron.com Git - emacs.git/commitdiff
Make functions setup-LANGUAGE-environment
authorKenichi Handa <handa@m17n.org>
Mon, 12 May 1997 07:00:13 +0000 (07:00 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 12 May 1997 07:00:13 +0000 (07:00 +0000)
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported.  Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Bug fixed in making coding system iso-2022-kr.

lisp/language/korean.el

index 2aec2cefc74c85adbc543980f10dad3b55249435..e096db9cb40972497f49454efcee28cc374decb7 100644 (file)
  "MIME ISO-2022-KR"
  '(ascii (nil korean-ksc5601) nil nil
         nil ascii-eol ascii-cntl seven locking-shift nil nil nil nil nil
-        'designation-bol))
+        designation-bol))
 
-(register-input-method
- "Korean" '("hanterm" encoded-kbd-select-terminal euc-kr))
 (register-input-method
  "Korean" '("quail-hangul" quail-use-package "quail/hangul"))
 (register-input-method
@@ -57,6 +55,9 @@
  "Korean" '("quail-hanja-jis" quail-use-package "quail/hanja-jis"))
 
 (defun setup-korean-environment ()
+  "Setup multilingual environment (MULE) for Korean."
+  (interactive)
+  (setup-english-environment)
   (setq coding-category-iso-8-2 'euc-kr)
 
   (set-coding-priority
   (setq default-input-method '("Korean" . "quail-hangul"))
   )
 
+(defun describe-korean-support ()
+  "Describe How Emacs supports Korean."
+  (interactive)
+  (describe-language-support-internal "Korean"))
+
 (set-language-info-alist
  "Korean" '((setup-function . setup-korean-environment)
+           (describe-function . describe-korean-support)
            (tutorial . "TUTORIAL.kr")
            (charset . (korean-ksc5601))
            (coding-system . (euc-kr iso-2022-kr))
-           (documentation . t)
-           (sample-text . "Hangul (\e$(CGQ1[\e(B)        \e$(C>H3gGO<<?d\e(B, \e$(C>H3gGO=J4O1n\e(B")))
+           (sample-text . "Hangul (\e$(CGQ1[\e(B)        \e$(C>H3gGO<<?d\e(B, \e$(C>H3gGO=J4O1n\e(B")
+           (documentation . nil)))
 
 ;;; korean.el ends here