# HG changeset patch # User Kenichi Handa # Date 863420413 0 # Node ID 0d0e69cee17d926983d22fa900906dc58e24945d # Parent 37ae0c18bd4737f21fc427aa5b51550931af5c58 Make functions setup-LANGUAGE-environment 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. diff -r 37ae0c18bd47 -r 0d0e69cee17d lisp/language/korean.el --- a/lisp/language/korean.el Mon May 12 07:00:12 1997 +0000 +++ b/lisp/language/korean.el Mon May 12 07:00:13 1997 +0000 @@ -41,11 +41,9 @@ "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 "Korean" '("quail-hangul3" quail-use-package "quail/hangul3")) @@ -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 @@ -69,12 +70,18 @@ (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 ($(CGQ1[(B) $(C>H3gGO<H3gGO=J4O1n(B"))) + (sample-text . "Hangul ($(CGQ1[(B) $(C>H3gGO<H3gGO=J4O1n(B") + (documentation . nil))) ;;; korean.el ends here