Function: tool-bar-make-keymap
tool-bar-make-keymap is a byte-compiled function defined in
tool-bar.el.gz.
Signature
(tool-bar-make-keymap &optional IGNORE)
Documentation
Generate an actual keymap from tool-bar-map.
Its main job is to figure out which images to use based on the display's color capability and based on the available image libraries.
Source Code
;; Defined in /usr/src/emacs/lisp/tool-bar.el.gz
(defun tool-bar-make-keymap (&optional _ignore)
"Generate an actual keymap from `tool-bar-map'.
Its main job is to figure out which images to use based on the display's
color capability and based on the available image libraries."
(or (gethash (tool-bar--cache-key) tool-bar-keymap-cache)
(setf (gethash (tool-bar--cache-key) tool-bar-keymap-cache)
(tool-bar-make-keymap-1))))