Subject: Re: bug#7710: lisp/emacs-lisp/easymenu.el - Correct easy-menu-define doctring

From: Stefan Monnier <[email-masked]>
Date: Thu, 23 Dec 2010 10:09:05 -0500

close 7710
thanks

> The argument ENABLE appears to be optional.

It's not just that it's optional but that there is an alternative
format, and in that alternative format [NAME CALLBACK] is valid.
The docstring says a bit further down from your change:

   [...]
   Alternatively, a menu item may have the form:
   
      [ NAME CALLBACK [ KEYWORD ARG ] ... ]
   
   Where KEYWORD is one of the symbols defined below.
   [...]

-- Stefan