diff options
| -rw-r--r-- | lisp/imenu.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index 0ad476ad48f..bc9e8669369 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -822,8 +822,7 @@ See the command `imenu' for more information." | |||
| 822 | (cdr (car (cdr menu)))) | 822 | (cdr (car (cdr menu)))) |
| 823 | t)) | 823 | t)) |
| 824 | (setq old (lookup-key (current-local-map) [menu-bar index])) | 824 | (setq old (lookup-key (current-local-map) [menu-bar index])) |
| 825 | (if (keymapp old) | 825 | (setcdr old (cdr menu1))))))) |
| 826 | (setcdr (nthcdr 2 old) menu1))))))) | ||
| 827 | 826 | ||
| 828 | (defun imenu--menubar-select (item) | 827 | (defun imenu--menubar-select (item) |
| 829 | "Use Imenu to select the function or variable named in this menu item." | 828 | "Use Imenu to select the function or variable named in this menu item." |