Function: quail-show-key
quail-show-key is an interactive and byte-compiled function defined in
quail.el.gz.
Signature
(quail-show-key)
Documentation
Show a list of key strings to type for inputting a character at point.
This function has :around advice: evil--in-emacs-state.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/international/quail.el.gz
(defun quail-show-key ()
"Show a list of key strings to type for inputting a character at point."
(interactive)
(or current-input-method
(error "No input method is activated"))
(or (assoc current-input-method quail-package-alist)
(error "The current input method does not use Quail"))
(let* ((char (following-char))
(key-list (quail-find-key char)))
(cond ((consp key-list)
(message "To input `%c', type \"%s\""
char
(mapconcat 'identity key-list "\", \"")))
((eq key-list t)
(message "To input `%s', just type it"
(single-key-description char)))
(t
(message "%c can't be input by the current input method" char)))))