Function: window-tool-bar--get-keymap
window-tool-bar--get-keymap is a byte-compiled function defined in
window-tool-bar.el.gz.
Signature
(window-tool-bar--get-keymap)
Documentation
Return the tool bar keymap.
Source Code
;; Defined in /usr/src/emacs/lisp/window-tool-bar.el.gz
(defun window-tool-bar--get-keymap ()
"Return the tool bar keymap."
(let ((tool-bar-always-show-default nil))
(if (and (version< emacs-version "30")
(eq 'text (window-tool-bar--style)))
;; This code path is a less efficient workaround.
(window-tool-bar--make-keymap-1)
(keymap-global-lookup "<tool-bar>"))))