** M-x imenu-add-to-menubar now adds to the menu bar for the current
buffer only. If you want to put an Imenu item in the menu bar for all
buffers that use a particular major mode, use the mode hook, as in
this example:
(add-hook 'emacs-lisp-mode-hook '(lambda () (imenu-add-to-menubar "Index")))