diff options
| -rw-r--r-- | lisp/language/korean.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/language/korean.el b/lisp/language/korean.el index 210d0fabaf7..7e758159a48 100644 --- a/lisp/language/korean.el +++ b/lisp/language/korean.el | |||
| @@ -84,6 +84,18 @@ and the following key bindings are available within Korean input methods: | |||
| 84 | F9, Hangul_Hanja: hangul-to-hanja-conversion") | 84 | F9, Hangul_Hanja: hangul-to-hanja-conversion") |
| 85 | )) | 85 | )) |
| 86 | 86 | ||
| 87 | ;; For auto-composing conjoining jamo. | ||
| 88 | (let* ((choseong "[\u1100-\u115F\uA960-\uA97C]") | ||
| 89 | (jungseong "[\u1160-\u11A7\uD7B0-\uD7C6]") | ||
| 90 | (jongseong "[\u11A8-\u11FF\uD7CB-\uD7FB]?") | ||
| 91 | (pattern (concat choseong jungseong jongseong))) | ||
| 92 | (set-char-table-range composition-function-table | ||
| 93 | '(#x1100 . #x115F) | ||
| 94 | (list (vector pattern 0 'font-shape-gstring))) | ||
| 95 | (set-char-table-range composition-function-table | ||
| 96 | '(#xA960 . #xA97C) | ||
| 97 | (list (vector pattern 0 'font-shape-gstring)))) | ||
| 98 | |||
| 87 | (provide 'korean) | 99 | (provide 'korean) |
| 88 | 100 | ||
| 89 | ;;; korean.el ends here | 101 | ;;; korean.el ends here |