bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18442: 24.3; easy-menu-define docstring of menu :label and :help


From: Lars Ingebrigtsen
Subject: bug#18442: 24.3; easy-menu-define docstring of menu :label and :help
Date: Sat, 03 Aug 2019 20:32:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Kevin Ryde <user42_kevin@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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]