Commit 08ad3342 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(easy-menu-add): Doc fix.

parent 769b4fb2
...@@ -463,7 +463,7 @@ to implement dynamic menus." ...@@ -463,7 +463,7 @@ to implement dynamic menus."
(defun easy-menu-add (menu &optional map) (defun easy-menu-add (menu &optional map)
"Maybe precalculate equivalent key bindings. "Maybe precalculate equivalent key bindings.
Do it if `easy-menu-precalculate-equivalent-keybindings' is on," Do it only if `easy-menu-precalculate-equivalent-keybindings' is on."
(when easy-menu-precalculate-equivalent-keybindings (when easy-menu-precalculate-equivalent-keybindings
(if (and (symbolp menu) (not (keymapp menu)) (boundp menu)) (if (and (symbolp menu) (not (keymapp menu)) (boundp menu))
(setq menu (symbol-value menu))) (setq menu (symbol-value menu)))
......
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