unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* easy-menu-define docstring inconsistent with behavior
@ 2003-11-01 23:54 James Clark
  2003-11-02 19:59 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: James Clark @ 2003-11-01 23:54 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-02 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-01 23:54 easy-menu-define docstring inconsistent with behavior James Clark
2003-11-02 19:59 ` Stefan Monnier

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).