aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/imenu.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-06-05 17:19:36 +0000
committerRichard M. Stallman <[email protected]>1996-06-05 17:19:36 +0000
commit880169e2c3a52007a212dbc7a1eb1cbe7ab8b191 (patch)
tree29a46c6fa7a02c93a5d01edb62ea65ba0a41587d /lisp/imenu.el
parentaafe5147448734a0ef35deba8f8065f424e88343 (diff)
(imenu): In interactive spec, pass the entire
index item, not just the string.
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r--lisp/imenu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el
index 166d2e1079..e4af044db1 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))))