1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

(imenu--mouse-menu): Pass proper arg to x-popup-menu.

This commit is contained in:
Richard M. Stallman 1996-03-09 00:32:05 +00:00
parent e6fd904737
commit cd7ac8e8a4

View File

@ -713,6 +713,9 @@ Returns t for rescan and otherwise a position number."
(if (< 1 (length (cdr menu)))
(cdr menu)
(cdr (cadr menu))))))
(or imenu-use-keymap-menu
(setq menu (list "Imenu" (delq nil menu))))
(setq position (x-popup-menu event menu))
(if imenu-use-keymap-menu
(progn