mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(mouse-major-mode-menu): Run activate-menubar-hook here.
This commit is contained in:
parent
437d9247a0
commit
25f9b4bf39
@ -49,6 +49,8 @@
|
||||
;; Switch to the window clicked on, because otherwise
|
||||
;; the mode's commands may not make sense.
|
||||
(interactive "@e\nP")
|
||||
;; Let the mode update its menus first.
|
||||
(run-hooks 'activate-menubar-hook)
|
||||
(let (;; This is where mouse-major-mode-menu-prefix
|
||||
;; returns the prefix we should use (after menu-bar).
|
||||
;; It is either nil or (SOME-SYMBOL).
|
||||
|
Loading…
Reference in New Issue
Block a user