Commit 0579e89d authored by Karl Heuer's avatar Karl Heuer
Browse files

(easy-menu-create-keymaps): Set menu-enable prop.

parent a53c7666
......@@ -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)
......
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