Jeff Miller <jmiller(a)smart.net> writes:
(defun jdm-junk ()
(add-submenu nil '("Hi") )
)
(make-local-hook 'activate-menubar-hook)
add-hook 'activate-menubar-hook 'jdm-junk nil t)
put this in your scratch buffer & eval-buffer. Then click on the menubar.
I get the following error:
Signaling: (void-function t)
t()
make-local-hook adds `t' to the local variable to tell the hook's
caller to handle the default value as well. I guess that the
activate-menubar-hook's caller has not been updated to understand the flag
yet ?
--didier