[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7755: 24.0.50; Document that you can apply a keyword to a menu subme
From: |
Lars Ingebrigtsen |
Subject: |
bug#7755: 24.0.50; Document that you can apply a keyword to a menu submenu |
Date: |
Fri, 11 Oct 2019 22:29:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
> b. The form for a submenu is the same:
> (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST)
>
> But the REAL-BINDING description needs to be changed. This is
> incorrect:
> "The third element, REAL-BINDING, is the command to execute."
>
> REAL-BINDING can be a command or a keymap or nil.
>
> c. If REAL-BINDING is a command, then you get a selectable menu item.
> If it is a keymap then you get a submenu. If it is nil then you get
> a non-selectable menu item (e.g. a separator line).
I've now documented this in Emacs 27.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7755: 24.0.50; Document that you can apply a keyword to a menu submenu,
Lars Ingebrigtsen <=