Function: help--key-description-fontified

help--key-description-fontified is a byte-compiled function defined in help.el.gz.

Signature

(help--key-description-fontified KEYS &optional PREFIX)

Documentation

Like key-description but add face for "*Help*" buffers.

KEYS is the return value of (where-is-internal \=foo-cmd nil t)'. Return nil if KEYS is nil.

Source Code

;; Defined in /usr/src/emacs/lisp/help.el.gz
;; Key bindings

(defun help--key-description-fontified (keys &optional prefix)
  "Like `key-description' but add face for \"*Help*\" buffers.
KEYS is the return value of `(where-is-internal \\='foo-cmd nil t)'.
Return nil if KEYS is nil."
  (when keys
    ;; We add both the `font-lock-face' and `face' properties here, as this
    ;; seems to be the only way to get this to work reliably in any
    ;; buffer.
    (propertize (key-description keys prefix)
                'font-lock-face 'help-key-binding
                'face 'help-key-binding)))