From 115f38ae502d6b529be52557f96e226170915406 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 14 Jul 2000 08:43:32 +0000 Subject: [PATCH] (easy-menu-convert-item-1): Only intern if the label is a string. --- lisp/emacs-lisp/easymenu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el index 49eaa551e13..3ab4fc0afa6 100644 --- a/lisp/emacs-lisp/easymenu.el +++ b/lisp/emacs-lisp/easymenu.el @@ -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 -- 2.39.2