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