Function: keymap-global-lookup
keymap-global-lookup is a byte-compiled function defined in
compat-29.el.
Signature
(keymap-global-lookup KEYS &optional ACCEPT-DEFAULT MESSAGE)
Documentation
[Compatibility function for keymap-global-lookup, defined in Emacs 29.1. See
(compat) Emacs 29.1' for more details.]
Return the binding for command KEYS in current global keymap only. KEY is a
string that satisfies key-valid-p.
The binding is probably a symbol with a function definition. This function's
return values are the same as those of keymap-lookup (which see).
If optional argument ACCEPT-DEFAULT is non-nil, recognize default bindings; see
the description of keymap-lookup for more details about this.
NOTE: The compatibility version is not a command.
Source Code
;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
(compat-defun keymap-global-lookup (keys &optional accept-default _message) ;; <compat-tests:keymap-global-lookup>
"Return the binding for command KEYS in current global keymap only.
KEY is a string that satisfies `key-valid-p'.
The binding is probably a symbol with a function definition.
This function's return values are the same as those of `keymap-lookup'
\(which see).
If optional argument ACCEPT-DEFAULT is non-nil, recognize default
bindings; see the description of `keymap-lookup' for more details
about this.
NOTE: The compatibility version is not a command."
(keymap-lookup (current-global-map) keys accept-default))