From: James Clark <jjc@jclark.com>
Subject: easy-menu-define docstring inconsistent with behavior
Date: 02 Nov 2003 06:54:49 +0700 [thread overview]
Message-ID: <1067730889.12264.303.camel@rambutan.bkk.thaiopensource.com> (raw)
The docstring for easy-menu-define says:
> The first element of MENU must be a string. It is the menu bar item name.
> It may be followed by the following keyword argument pairs
>
> :filter FUNCTION
>
> FUNCTION is a function with one argument, the menu. It returns the actual
> menu displayed.
In fact, the argument and return value for function are the remaining
menu items not the entire menu.
James
next reply other threads:[~2003-11-01 23:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-01 23:54 James Clark [this message]
2003-11-02 19:59 ` easy-menu-define docstring inconsistent with behavior Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1067730889.12264.303.camel@rambutan.bkk.thaiopensource.com \
--to=jjc@jclark.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).