diff options
| author | Richard M. Stallman | 1996-06-05 17:19:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-05 17:19:36 +0000 |
| commit | 880169e2c3a52007a212dbc7a1eb1cbe7ab8b191 (patch) | |
| tree | 29a46c6fa7a02c93a5d01edb62ea65ba0a41587d | |
| parent | aafe5147448734a0ef35deba8f8065f424e88343 (diff) | |
| download | emacs-880169e2c3a52007a212dbc7a1eb1cbe7ab8b191.tar.gz emacs-880169e2c3a52007a212dbc7a1eb1cbe7ab8b191.zip | |
(imenu): In interactive spec, pass the entire
index item, not just the string.
| -rw-r--r-- | lisp/imenu.el | 2 |
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." | |||
| 851 | (interactive | 851 | (interactive |
| 852 | (list (save-restriction | 852 | (list (save-restriction |
| 853 | (widen) | 853 | (widen) |
| 854 | (car (imenu-choose-buffer-index))))) | 854 | (imenu-choose-buffer-index)))) |
| 855 | ;; Convert a string to an alist element. | 855 | ;; Convert a string to an alist element. |
| 856 | (if (stringp index-item) | 856 | (if (stringp index-item) |
| 857 | (setq index-item (assoc index-item (imenu--make-index-alist)))) | 857 | (setq index-item (assoc index-item (imenu--make-index-alist)))) |