mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(imenu): In interactive spec, pass the entire
index item, not just the string.
This commit is contained in:
parent
aafe514744
commit
880169e2c3
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@ See `imenu-choose-buffer-index' for more information."
|
|||
(interactive
|
||||
(list (save-restriction
|
||||
(widen)
|
||||
(car (imenu-choose-buffer-index)))))
|
||||
(imenu-choose-buffer-index))))
|
||||
;; Convert a string to an alist element.
|
||||
(if (stringp index-item)
|
||||
(setq index-item (assoc index-item (imenu--make-index-alist))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue