changeset 14798:8557ab78a821

(imenu--mouse-menu): Pass proper arg to x-popup-menu.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Mar 1996 00:32:05 +0000
parents a790ae4a71ba
children 619266555aec
files lisp/imenu.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/imenu.el	Fri Mar 08 23:57:44 1996 +0000
+++ b/lisp/imenu.el	Sat Mar 09 00:32:05 1996 +0000
@@ -713,6 +713,9 @@
 					    (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