[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7710: lisp/emacs-lisp/easymenu.el - Correct easy-menu-define doctrin
From: |
Stefan Monnier |
Subject: |
bug#7710: lisp/emacs-lisp/easymenu.el - Correct easy-menu-define doctring |
Date: |
Thu, 23 Dec 2010 10:09:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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