From 880169e2c3a52007a212dbc7a1eb1cbe7ab8b191 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 5 Jun 1996 17:19:36 +0000 Subject: [PATCH] (imenu): In interactive spec, pass the entire index item, not just the string. --- lisp/imenu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))) -- 2.39.2