changeset 16236:52620db97569

(imenu--mouse-menu): Add special handling for rescan item.
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Sep 1996 22:18:14 +0000
parents b5b7d7552f34
children 4c9450bfc4db
files lisp/imenu.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/imenu.el	Wed Sep 18 22:00:30 1996 +0000
+++ b/lisp/imenu.el	Wed Sep 18 22:18:14 1996 +0000
@@ -729,7 +729,8 @@
 	     (while position
 	       (setq final (assoc (car position) final))
 	       (setq position (cdr position)))
-	     (cdr (cdr (cdr final)))))
+             (or (string= (car final) (car imenu--rescan-item))
+                 (cdr (cdr (cdr final))))))
 	  ;; If x-popup-menu went just one level and found a leaf item,
 	  ;; return the INDEX-ALIST element for that.
 	  ((and (consp position)