Looking again, SYMBOL appears to be both a variable and a function, so I was wrong. Sorry! But it might be helpful to add to the documentation that SYMBOL also defines a variable.
Francis ________________________________ From: Eli Zaretskii <e...@gnu.org> Sent: 07 September 2024 6:19 PM To: Francis Wright <f.j.wri...@live.co.uk> Cc: 73...@debbugs.gnu.org <73...@debbugs.gnu.org> Subject: Re: bug#73108: 29.2; easy-menu-define > From: Francis Wright <f.j.wri...@live.co.uk> > Date: Sat, 7 Sep 2024 16:47:17 +0000 > > The docstring and the Elisp manual both state that easy-menu-define "defines > SYMBOL as a function for > popping up the menu" but it doesn't. Are you sure? emacs -Q M-x load-library RET bookmark RET M-: (symbol-function 'bookmark-menu) RET => #[257 "\301^A\3009\203^W\0\302\300\303N\304\"... Adding Stefan in case he has comments.