Commit 60c7ff3b authored by Dave Love's avatar Dave Love
Browse files

Menu help strings now used.

parent 712eaef2
...@@ -1573,10 +1573,8 @@ You can also supply a second string, called the help string, as follows: ...@@ -1573,10 +1573,8 @@ You can also supply a second string, called the help string, as follows:
(@var{item-string} @var{help-string} . @var{real-binding}) (@var{item-string} @var{help-string} . @var{real-binding})
@end example @end example
Currently Emacs does not actually use @var{help-string}; it knows only @var{help-string} specifies a ``help-echo'' string to display while the
how to ignore @var{help-string} in order to extract @var{real-binding}. mouse is on that item.
In the future we may use @var{help-string} as extended documentation for
the menu item, available on request.
As far as @code{define-key} is concerned, @var{item-string} and As far as @code{define-key} is concerned, @var{item-string} and
@var{help-string} are part of the event's binding. However, @var{help-string} are part of the event's binding. However,
...@@ -1659,8 +1657,8 @@ does not appear, then the menu is displayed as if this item were ...@@ -1659,8 +1657,8 @@ does not appear, then the menu is displayed as if this item were
not defined at all. not defined at all.
@item :help @var{help} @item :help @var{help}
The value of this property, @var{help}, is the extra help string (not The value of this property, @var{help}, is the ``help-echo'' string to
currently used by Emacs). display while the mouse is on that item.
@item :button (@var{type} . @var{selected}) @item :button (@var{type} . @var{selected})
This property provides a way to define radio buttons and toggle buttons. This property provides a way to define radio buttons and toggle buttons.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment