1
0
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:
Richard M. Stallman 1998-05-05 21:47:53 +00:00
parent 437d9247a0
commit 25f9b4bf39

View File

@ -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).