Function: which-key--compute-binding

which-key--compute-binding is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--compute-binding BINDING)

Documentation

Replace BINDING with remapped binding if it exists.

Requires which-key-compute-remaps to be non-nil.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key--compute-binding (binding)
  "Replace BINDING with remapped binding if it exists.
Requires `which-key-compute-remaps' to be non-nil."
  (copy-sequence (symbol-name
                  (or (and which-key-compute-remaps
                           (command-remapping binding))
                      binding))))