# HG changeset patch # User Stefan Monnier # Date 963564212 0 # Node ID f59674c820d93cf1f743920777a91ee1e9ddd44f # Parent e0e295d641ba580a6fa3202e9883ae148739a0e9 (easy-menu-convert-item-1): Only intern if the label is a string. diff -r e0e295d641ba -r f59674c820d9 lisp/emacs-lisp/easymenu.el --- a/lisp/emacs-lisp/easymenu.el Fri Jul 14 08:39:48 2000 +0000 +++ b/lisp/emacs-lisp/easymenu.el Fri Jul 14 08:43:32 2000 +0000 @@ -354,7 +354,7 @@ ;; `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