Function: hangul-input-method-activate

hangul-input-method-activate is an autoloaded and byte-compiled function defined in hangul.el.gz.

Signature

(hangul-input-method-activate INPUT-METHOD FUNC HELP-TEXT &rest ARGS)

Documentation

Activate Hangul input method INPUT-METHOD.

FUNC is a function to handle input key. HELP-TEXT is a text set in hangul-input-method-help-text.

Source Code

;; Defined in /usr/src/emacs/lisp/leim/quail/hangul.el.gz
;;;###autoload
(defun hangul-input-method-activate (_input-method func help-text &rest _args)
  "Activate Hangul input method INPUT-METHOD.
FUNC is a function to handle input key.
HELP-TEXT is a text set in `hangul-input-method-help-text'."
  (setq deactivate-current-input-method-function #'hangul-input-method-deactivate
	describe-current-input-method-function #'hangul-input-method-help
	hangul-input-method-help-text help-text)
  (quail-delete-overlays)
  (if (eq (selected-window) (minibuffer-window))
      (add-hook 'minibuffer-exit-hook #'quail-exit-from-minibuffer))
  (setq-local input-method-function func))