diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-03-09 00:32:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-03-09 00:32:05 +0000 |
commit | 07d58d289423a4b024504a85b25695f627b04eb9 (patch) | |
tree | 6f43d0a0017d0e8c28cd540e0abc21ae052f9956 /lisp/imenu.el | |
parent | 4b7a63b2df650c9fc56f27ff855a3bb22553d2c2 (diff) | |
download | emacs-07d58d289423a4b024504a85b25695f627b04eb9.tar.gz |
(imenu--mouse-menu): Pass proper arg to x-popup-menu.
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r-- | lisp/imenu.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index a8d9d1567d8..633c65afaf8 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -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 |