(imenu--mouse-menu): Add special handling for rescan item.
This commit is contained in:
parent
c0eae5b9ba
commit
b8c44b291a
1 changed files with 2 additions and 1 deletions
|
@ -729,7 +729,8 @@ Returns t for rescan and otherwise an element or subelement of INDEX-ALIST."
|
|||
(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)
|
||||
|
|
Loading…
Add table
Reference in a new issue