Function: hypb:cmd-key-vector

hypb:cmd-key-vector is a byte-compiled function defined in hypb.el.

Signature

(hypb:cmd-key-vector CMD-SYM &optional KEYMAP)

Documentation

Return as a vector the first key sequence bound to CMD-SYM.

Search global keymap or optional KEYMAP. Return nil if no valid key binding is found.

The returned value may be compared with equal to this-single-command-keys. Use key-description to make it human readable.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:cmd-key-vector (cmd-sym &optional keymap)
  "Return as a vector the first key sequence bound to CMD-SYM.
Search global keymap or optional KEYMAP.  Return nil if no valid
key binding is found.

The returned value may be compared with `equal' to `this-single-command-keys'.
Use `key-description' to make it human readable."
  (where-is-internal cmd-sym keymap t))