changeset 15335:cd47abda6c84

(imenu): In interactive spec, pass the entire index item, not just the string.
author Richard M. Stallman <rms@gnu.org>
date Wed, 05 Jun 1996 17:19:36 +0000
parents 07c1581d1cc5
children 8d23d63f1eee
files lisp/imenu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/imenu.el	Wed Jun 05 15:08:18 1996 +0000
+++ b/lisp/imenu.el	Wed Jun 05 17:19:36 1996 +0000
@@ -851,7 +851,7 @@
   (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))))