Function: hanja-list-next

hanja-list-next is a byte-compiled function defined in hanja-util.el.gz.

Signature

(hanja-list-next)

Documentation

Select the next candidate of hangul->hanja conversion.

Source Code

;; Defined in /usr/src/emacs/lisp/language/hanja-util.el.gz
(defun hanja-list-next ()
  "Select the next candidate of hangul->hanja conversion."
  (let* ((base (aref hanja-conversions 0))
         (offset (aref hanja-conversions 1))
         (hanja-list (aref hanja-conversions 2)))
    (cond ((and (< offset (1- hanja-list-width))
                (< offset (1- (length (nthcdr (* base hanja-list-width)
                                              hanja-list)))))
           (aset hanja-conversions 1 (1+ offset)))
          ((nthcdr (* (1+ base) hanja-list-width) hanja-list)
           (hanja-list-next-group)
           (aset hanja-conversions 1 0)))))