summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-05 17:19:36 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-05 17:19:36 +0000
commit936b00f8b90b741b78b184de223bb169dc0ad2e5 (patch)
tree385c94f887dd5c3a89183e36f76ce8d6834eeaf3
parent492c58d58418835954257e7f94965b7c8469f876 (diff)
downloademacs-936b00f8b90b741b78b184de223bb169dc0ad2e5.tar.gz
(imenu): In interactive spec, pass the entire
index item, not just the string.
-rw-r--r--lisp/imenu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el
index 166d2e10798..e4af044db13 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -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))))