mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 01:34:21 +00:00
(imenu-update-menubar): Fix code to install the new menu.
This commit is contained in:
parent
98ab445ddb
commit
5d43dca8a6
1 changed files with 1 additions and 2 deletions
|
|
@ -822,8 +822,7 @@ See the command `imenu' for more information."
|
|||
(cdr (car (cdr menu))))
|
||||
t))
|
||||
(setq old (lookup-key (current-local-map) [menu-bar index]))
|
||||
(if (keymapp old)
|
||||
(setcdr (nthcdr 2 old) menu1)))))))
|
||||
(setcdr old (cdr menu1)))))))
|
||||
|
||||
(defun imenu--menubar-select (item)
|
||||
"Use Imenu to select the function or variable named in this menu item."
|
||||
|
|
|
|||
Loading…
Reference in a new issue