diff options
| author | Richard M. Stallman | 1996-03-09 00:32:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-09 00:32:05 +0000 |
| commit | cd7ac8e8a4448e7fa26dccb3b3f969fb310b4adc (patch) | |
| tree | 98a64d218ffafabab994297a8f774b9d75225fa1 | |
| parent | e6fd904737bbe8ff7970f40ae41b8760ec1f00d4 (diff) | |
| download | emacs-cd7ac8e8a4448e7fa26dccb3b3f969fb310b4adc.tar.gz emacs-cd7ac8e8a4448e7fa26dccb3b3f969fb310b4adc.zip | |
(imenu--mouse-menu): Pass proper arg to x-popup-menu.
| -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." | |||
| 713 | (if (< 1 (length (cdr menu))) | 713 | (if (< 1 (length (cdr menu))) |
| 714 | (cdr menu) | 714 | (cdr menu) |
| 715 | (cdr (cadr menu)))))) | 715 | (cdr (cadr menu)))))) |
| 716 | |||
| 717 | (or imenu-use-keymap-menu | ||
| 718 | (setq menu (list "Imenu" (delq nil menu)))) | ||
| 716 | (setq position (x-popup-menu event menu)) | 719 | (setq position (x-popup-menu event menu)) |
| 717 | (if imenu-use-keymap-menu | 720 | (if imenu-use-keymap-menu |
| 718 | (progn | 721 | (progn |