Function: hangul2-input-method-moum
hangul2-input-method-moum is a byte-compiled function defined in
hangul.el.gz.
Signature
(hangul2-input-method-moum CHAR)
Documentation
Store Hangul Jamo indice CHAR in hangul-queue.
It is a Hangul 2-Bulsik Moum.
This function processes a Hangul 2-Bulsik Moum.
The Moum can be located in a Jungseong position.
Other parts are the same as a hangul2-input-method-jaum.
Source Code
;; Defined in /usr/src/emacs/lisp/leim/quail/hangul.el.gz
(defsubst hangul2-input-method-moum (char)
"Store Hangul Jamo indice CHAR in `hangul-queue'.
It is a Hangul 2-Bulsik Moum.
This function processes a Hangul 2-Bulsik Moum.
The Moum can be located in a Jungseong position.
Other parts are the same as a `hangul2-input-method-jaum'."
(if (cond ((zerop (aref hangul-queue 2))
(aset hangul-queue 2 char))
((and (zerop (aref hangul-queue 3))
(zerop (aref hangul-queue 4))
(notzerop (hangul-djamo 'jung (aref hangul-queue 2) char)))
(aset hangul-queue 3 char)))
(hangul-insert-character hangul-queue)
(let ((next-char (vector 0 0 char 0 0 0)))
(cond ((notzerop (aref hangul-queue 5))
(aset next-char 0 (aref hangul-queue 5))
(aset hangul-queue 5 0))
((notzerop (aref hangul-queue 4))
(aset next-char 0 (aref hangul-queue 4))
(aset hangul-queue 4 0)))
(hangul-insert-character hangul-queue
(setq hangul-queue next-char)))))