Function: help-key-description
help-key-description is a byte-compiled function defined in
help.el.gz.
Signature
(help-key-description KEY UNTRANSLATED)
Source Code
;; Defined in /usr/src/emacs/lisp/help.el.gz
(defun help-key-description (key untranslated)
(let ((string (help--key-description-fontified key)))
(if (or (not untranslated)
(and (eq (aref untranslated 0) ?\e) (not (eq (aref key 0) ?\e))))
string
(let ((otherstring (help--key-description-fontified untranslated)))
(if (equal string otherstring)
string
(if-let* ((char-name (and (length= string 1)
(char-to-name (aref string 0)))))
(format "%s '%s' (translated from %s)" string char-name otherstring)
(format "%s (translated from %s)" string otherstring)))))))