diff options
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r-- | lisp/imenu.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index d3f66b3e610..70a1b051956 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -806,8 +806,8 @@ See `imenu' for more information." (let ((newmap (make-sparse-keymap))) (define-key (current-local-map) [menu-bar index] (cons name (nconc (make-sparse-keymap "Imenu") - (make-sparse-keymap))))) - (use-local-map (append newmap (current-local-map)))) + (make-sparse-keymap)))) + (use-local-map (append newmap (current-local-map))))) (make-local-variable 'imenu-buffer-menubar) t) (let ((index-alist (imenu--make-index-alist t))) |