diff man/lispref/menus.texi @ 259:11cf20601dec r20-5b28

Import from CVS: tag r20-5b28
author cvs
date Mon, 13 Aug 2007 10:23:02 +0200
parents 2d532a89d707
children 727739f917cb
line wrap: on
line diff
--- a/man/lispref/menus.texi	Mon Aug 13 10:22:10 2007 +0200
+++ b/man/lispref/menus.texi	Mon Aug 13 10:23:02 2007 +0200
@@ -172,10 +172,11 @@
 result is non-@code{nil}.  If the item is unselectable, it will
 usually be displayed grayed-out to indicate this.
 
-@item :suffix @var{string}
-The string is appended to the displayed name.  This provides a
-convenient way of adding the name of a command's ``argument'' to the
-menu, like @samp{Kill Buffer NAME}.
+@item :suffix @var{form}
+@var{form} will be evaluated when the menu that this item is a part of
+is about to be displayed, and the resulting string is appended to the
+displayed name.  This provides a convenient way of adding the name of a
+command's ``argument'' to the menu, like @samp{Kill Buffer NAME}.
 
 @item :keys @var{string}
 Normally, the keyboard equivalents of commands in menus are displayed