From: Richard M. Stallman Date: Tue, 6 Apr 1999 20:02:45 +0000 (+0000) Subject: (imenu--mouse-menu): Use assq when searching in FINAL. X-Git-Tag: emacs-20.4~371 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fdc5fa25cb979c88a87a2006c13a216faf9edffe;p=emacs.git (imenu--mouse-menu): Use assq when searching in FINAL. --- diff --git a/lisp/imenu.el b/lisp/imenu.el index 4fa74b7ec72..f9028d34ef0 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -918,7 +918,7 @@ Returns t for rescan and otherwise an element or subelement of INDEX-ALIST." (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))))