From: Richard M. Stallman Date: Wed, 5 Jun 1996 17:19:36 +0000 (+0000) Subject: (imenu): In interactive spec, pass the entire X-Git-Tag: emacs-19.34~527 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=880169e2c3a52007a212dbc7a1eb1cbe7ab8b191;p=emacs.git (imenu): In interactive spec, pass the entire index item, not just the string. --- 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))))