mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(tool-bar-local-item-from-menu):
Fix parts in construction of `menu-item' item at end.
This commit is contained in:
parent
fba75b6b1a
commit
97c2194784
@ -208,7 +208,7 @@ MAP must contain appropriate binding for `[menu-bar]' which holds a keymap."
|
||||
(append (cdr defn) (list :image image) props))
|
||||
(setq defn (cdr defn))
|
||||
(define-key-after in-map (vector key)
|
||||
(append `(menu-item ,(car defn) ,(cddr defn))
|
||||
(append `(menu-item ,(car defn) ,(cdr defn))
|
||||
(list :image image) props)))))))
|
||||
|
||||
;;; Set up some global items. Additions/deletions up for grabs.
|
||||
|
Loading…
Reference in New Issue
Block a user