Byrel Mitchell writes:
Ben and I were playing around with the menu structure, and noticed a
discrepancy in the documentation. According to the lispref, the :active
keyword is only valid for leaf entries. According to current-menubar's
docstring, it's valid for submenus as well.
Is there a use case for the :active keyword in submenus?
The only one I can think of would be a standard function which
traverses the submenu's entries recursively, returning non-nil if
there is an active entry. That seems a little weak to me.
We tested it, and it turns out the syntax check function precludes
using
the:active keyword. However, the functionality is implemented, and works
if you bypass the syntax check. Here's a patch to the syntax checker and
lispref that would enable it.
Thanks for the patches! I've got a few more old patches I want to
clear out of my workspace, and then I'll try to take a bite out of the
backlog of user patches.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta