GNU bug report logs -
#18442
24.3; easy-menu-define docstring of menu :label and :help
Previous Next
Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Date: Wed, 10 Sep 2014 07:02:01 UTC
Severity: minor
Tags: fixed
Found in version 24.3
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Kevin Ryde <user42_kevin <at> yahoo.com.au> writes:
> I see easy-menu-define accepts :label for the menu name, ie. the button
> which opens the menu or sub-menu. Eg. a top-level item changing on
> every redisplay,
>
> (easy-menu-define my-menu global-map "my menu docstring"
> '("MyTest"
> :label (format "MyTest-%d" (random 100))
> ["Foo" doctor t]))
>
> Is this a documented feature? It'd be good to describe it in the
> docstring. Perhaps something like below, with :help similarly too.
>
> 2014-09-09 Kevin Ryde <user42_kevin <at> yahoo.com.au>
>
> * emacs-lisp/easymenu.el (easy-menu-define): Docstring :label and
> :help of the menu itself.
Thanks; applied to Emacs 27.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.