changeset 24578:9bd8fd06673b

(imenu--mouse-menu): Use assq when searching in FINAL.
author Richard M. Stallman <rms@gnu.org>
date Tue, 06 Apr 1999 20:02:45 +0000
parents 006eeb212983
children 82cf6c4c1e03
files lisp/imenu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/imenu.el	Tue Apr 06 20:00:52 1999 +0000
+++ b/lisp/imenu.el	Tue Apr 06 20:02:45 1999 +0000
@@ -918,7 +918,7 @@
 		(stringp (nth (1- (length position)) position)))
 	   (let ((final menu))
 	     (while position
-	       (setq final (assoc (car position) final))
+	       (setq final (assq (car position) final))
 	       (setq position (cdr position)))
              (or (string= (car final) (car imenu--rescan-item))
                  (nthcdr 3 final))))