Commit 115f38ae authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(easy-menu-convert-item-1): Only intern if the label is a string.

parent 3a4f3f86
......@@ -354,7 +354,7 @@ MENU, just change it, otherwise put it last in MENU."
;; `intern' the name so as to merge multiple entries with the same name.
;; It also makes it easier/possible to lookup/change menu bindings
;; via keymap functions.
(cons (intern name)
(cons (if (stringp name) (intern name) name)
(and (not remove)
(cons 'menu-item
(cons label
......
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