diff options
| author | Richard M. Stallman | 1996-09-18 22:18:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-18 22:18:14 +0000 |
| commit | b8c44b291a6004d6964f5c0fff4d1095c760b87e (patch) | |
| tree | 5ce5e80cbcfda274337a964e9f25e05b5d55d54e | |
| parent | c0eae5b9bacfd8c561c60d41158c708f1c0c1f14 (diff) | |
| download | emacs-b8c44b291a6004d6964f5c0fff4d1095c760b87e.tar.gz emacs-b8c44b291a6004d6964f5c0fff4d1095c760b87e.zip | |
(imenu--mouse-menu): Add special handling for rescan item.
| -rw-r--r-- | lisp/imenu.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index 64ceb7a0cb1..323a279efef 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -729,7 +729,8 @@ Returns t for rescan and otherwise an element or subelement of INDEX-ALIST." | |||
| 729 | (while position | 729 | (while position |
| 730 | (setq final (assoc (car position) final)) | 730 | (setq final (assoc (car position) final)) |
| 731 | (setq position (cdr position))) | 731 | (setq position (cdr position))) |
| 732 | (cdr (cdr (cdr final))))) | 732 | (or (string= (car final) (car imenu--rescan-item)) |
| 733 | (cdr (cdr (cdr final)))))) | ||
| 733 | ;; If x-popup-menu went just one level and found a leaf item, | 734 | ;; If x-popup-menu went just one level and found a leaf item, |
| 734 | ;; return the INDEX-ALIST element for that. | 735 | ;; return the INDEX-ALIST element for that. |
| 735 | ((and (consp position) | 736 | ((and (consp position) |