mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(imenu--mouse-menu): Pass proper arg to x-popup-menu.
This commit is contained in:
parent
e6fd904737
commit
cd7ac8e8a4
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue