]> git.eshelyaron.com Git - emacs.git/commitdiff
(easy-menu-create-keymaps): Set menu-enable prop.
authorKarl Heuer <kwzh@gnu.org>
Wed, 17 May 1995 19:34:18 +0000 (19:34 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 17 May 1995 19:34:18 +0000 (19:34 +0000)
lisp/emacs-lisp/easymenu.el

index 6ce754cd35f7c57e04df4f28439e5944aec4a507..9360f778cfc69582970fa1f41e55be3e57f329f5 100644 (file)
@@ -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)