mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(mouse-major-mode-menu): Run activate-menubar-hook here.
This commit is contained in:
parent
437d9247a0
commit
25f9b4bf39
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue