Function: hkey-maybe-set-key
hkey-maybe-set-key is a byte-compiled function defined in
hyperbole.el.
Signature
(hkey-maybe-set-key KEY COMMAND &optional NO-ADD)
Documentation
Define a Hyperbole KEY bound to COMMAND if KEY is not in hyperbole-mode-map.
Third argument NO-ADD is ignored.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyperbole.el
(defun hkey-maybe-set-key (key command &optional _no-add)
"Define a Hyperbole KEY bound to COMMAND if KEY is not in `hyperbole-mode-map'.
Third argument NO-ADD is ignored."
(let ((lookup-result (lookup-key hyperbole-mode-map key)))
(cond ((integerp lookup-result)
(hypb:error "(hkey-maybe-set-key): Prefix key used is not defined: {%s}" (key-description key)))
((null lookup-result)
(hkey-set-key key command)))))