diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-04-06 20:02:45 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-04-06 20:02:45 +0000 |
commit | 20c269f5ec83b403e3717487a658370d2206b337 (patch) | |
tree | 768f4eddc1d1d3335e7a6cd8810eb86ceb38b449 /lisp/imenu.el | |
parent | 62ff70fe6c27ab4a7f754917c43409ac6454c752 (diff) | |
download | emacs-20c269f5ec83b403e3717487a658370d2206b337.tar.gz |
(imenu--mouse-menu): Use assq when searching in FINAL.
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r-- | lisp/imenu.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |