GNU bug report logs - #7710
lisp/emacs-lisp/easymenu.el - Correct easy-menu-define doctring

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Wed, 22 Dec 2010 16:51:01 UTC

Severity: normal

Found in version 23.2+1-5.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jari Aalto <jari.aalto <at> cante.net>
Cc: 7710 <at> debbugs.gnu.org
Subject: bug#7710: lisp/emacs-lisp/easymenu.el - Correct easy-menu-define doctring
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




This bug report was last modified 14 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.