Commit c6dd34cb authored by Karl Heuer's avatar Karl Heuer
Browse files

(popup-menu): Convert list to same-size vector, not singleton vector.

parent fbf8f564
......@@ -139,7 +139,7 @@ The syntax, more precisely:
(setq answer (x-popup-menu (list (list (nth 1 pos) (nthcdr 2 pos))
(car pos))
(setq cmd (lookup-key menu (vector answer)))
(setq cmd (lookup-key menu (apply 'vector answer)))
(setq menu nil)
(and cmd
(if (keymapp cmd)
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