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:
parent
e6fd904737
commit
cd7ac8e8a4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user