Commit 896160ba authored by Dave Love's avatar Dave Love
Browse files

(toolbar-like-menu-item): Doc fix.

parent f8034e41
......@@ -85,7 +85,8 @@ Info node `(elisp)Image Descriptors')."
(defun toolbar-like-menu-item (command icon &optional map)
"Define toolbar binding for COMMAND using the given ICON in keymap MAP.
The binding of COMMAND is looked up in the menu bar in MAP (default
`global-map') and modified to add an image specification for ICON.
`global-map') and modified to add an image specification for ICON, which
is looked for as by `toolbar-add-item'.
MAP must contain appropriate keymaps bound to `[menu-bar]' and
`[tool-bar]'."
(unless map
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment