mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-27 10:21:14 -08:00
(Extended Menu Items): Menu item filter functions
can be called at any time.
This commit is contained in:
parent
3f0f48c040
commit
bf58181a31
1 changed files with 4 additions and 0 deletions
|
|
@ -1909,6 +1909,10 @@ This property provides a way to compute the menu item dynamically.
|
|||
The property value @var{filter-fn} should be a function of one argument;
|
||||
when it is called, its argument will be @var{real-binding}. The
|
||||
function should return the binding to use instead.
|
||||
|
||||
Emacs can call this function at any time that it does redisplay or
|
||||
operates on menu data structures, so you should write it so it can
|
||||
safely be called at any time.
|
||||
@end table
|
||||
|
||||
@node Menu Separators
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue