changeset 8038:bffab6b07862

(popup-menu): Convert list to same-size vector, not singleton vector.
author Karl Heuer <kwzh@gnu.org>
date Thu, 23 Jun 1994 23:58:16 +0000
parents fd5fb80a940d
children 7cc73292df36
files lisp/emacs-lisp/lmenu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lmenu.el	Thu Jun 23 23:57:33 1994 +0000
+++ b/lisp/emacs-lisp/lmenu.el	Thu Jun 23 23:58:16 1994 +0000
@@ -139,7 +139,7 @@
       (setq answer (x-popup-menu (list (list (nth 1 pos) (nthcdr 2 pos))
 				       (car pos))
 				 menu))
-      (setq cmd (lookup-key menu (vector answer)))
+      (setq cmd (lookup-key menu (apply 'vector answer)))
       (setq menu nil)
       (and cmd
 	   (if (keymapp cmd)