From 0579e89d9823bf8a11ce3fffe693ac02a0840c8e Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 17 May 1995 19:34:18 +0000 Subject: [PATCH] (easy-menu-create-keymaps): Set menu-enable prop. --- lisp/emacs-lisp/easymenu.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el index 6ce754cd35f..9360f778cfc 100644 --- a/lisp/emacs-lisp/easymenu.el +++ b/lisp/emacs-lisp/easymenu.el @@ -164,7 +164,8 @@ is a list of menu items, as above." selected ;; Simulate radio buttons with menu-enable. (put command 'menu-enable - (list 'not selected))))))) + (list 'not selected))))) + (put command 'menu-enable keyword))) (if (keymapp callback) (setq name (concat name " ..."))) (if (symbolp callback) -- 2.39.2