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

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

bug#26428: 24.5; (elisp) Extended Menu Items: document same features for


From: Lars Ingebrigtsen
Subject: bug#26428: 24.5; (elisp) Extended Menu Items: document same features for menus
Date: Sat, 12 Dec 2020 20:50:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

> I filed a bug a few years back to get the use of keywords documented for
> separator lines.  That was done: in (elisp) `Menu Separators' we now
> have this:
>
>    You can use a longer form to specify keywords such as `:enable'
>    and `:visible=' for a menu separator:
>
>    (menu-item SEPARATOR-TYPE nil . ITEM-PROPERTY-LIST)
>
>    For example:
>
>      (menu-item "--" nil :visible (boundp 'foo))
>
> After some fiddling, I found that the same is true for menus
> (e.g. submenus).  This too should be documented - it is not obvious.

Could you suggest a text for the manual to document this?

-- 
(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]