Commit cffe562a authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(easy-menu-get-map): Fix last change.

parent 98961e08
2004-11-06 Andreas Schwab <schwab@suse.de>
* emacs-lisp/easymenu.el (easy-menu-get-map): Fix last change.
2004-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/easymenu.el (easy-menu-get-map-look-for-name): Remove.
......
......@@ -622,7 +622,7 @@ In some cases we use that to select between the local and global maps."
(catch 'found
(if (and map (symbolp map) (not (keymapp map)))
(setq map (symbol-value map)))
(let ((maps (or map (current-active-maps))))
(let ((maps (if map (list map) (current-active-maps))))
;; Look for PATH in each map.
(unless map (push 'menu-bar path))
(dolist (name path)
......
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