On Tue, Jan 22, 2013 at 5:47 PM, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
Is that the semantics that Emacs uses?
Yes. From the Emacs documentation:
@item:visible @var{form}
The result of evaluating @var{form} determines whether the item should
actually appear in the menu (non-@code{nil} means yes). If the item
does not appear, then the menu is displayed as if this item were
not defined at all.
And elsewhere:
@item:visible @var{include}
@var{include} is an expression; if it evaluates to @code{nil}, the
menu is made invisible. @code{:included} is an alias for
@code{:visible}.
And here is our documentation for :included:
@item:included @var{form}
This can be used to control the visibility of a menu. The form is
evaluated and the menu will be omitted if the result is @code{nil}.
I suspect that :included is an alias for :visible in Emacs to gain
XEmacs compatibility. This patch adds :visible as an alias to
:included in XEmacs for Emacs compatibility.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches