emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

easy-menu-define docstring inconsistent with behavior


From: James Clark
Subject: easy-menu-define docstring inconsistent with behavior
Date: 02 Nov 2003 06:54:49 +0700

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]