Mercurial > emacs
changeset 32284:700a91f9a4b4
(imenu-add-to-menubar): Fix again.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sun, 08 Oct 2000 15:13:43 +0000 |
parents | f00f5d5c966a |
children | 4763231809cd |
files | lisp/imenu.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/imenu.el Sun Oct 08 12:24:23 2000 +0000 +++ b/lisp/imenu.el Sun Oct 08 15:13:43 2000 +0000 @@ -1002,8 +1002,7 @@ (set-keymap-parent newmap (current-local-map)) (setq imenu--last-menubar-index-alist nil) (define-key newmap [menu-bar index] - (define-key map [index] - `(menu-item ,name ,(make-sparse-keymap "Imenu")))) + `(menu-item ,name ,(make-sparse-keymap "Imenu"))) (use-local-map newmap) (add-hook 'menu-bar-update-hook 'imenu-update-menubar)) (error "The mode `%s' does not support Imenu" mode-name)))