aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-05-10 09:15:49 +0000
committerRichard M. Stallman2005-05-10 09:15:49 +0000
commitbf58181a31cc543b4e137ad2929bdbf4d85ae066 (patch)
treef9516c6e6d3fee0e258fd7ff50515dadefec20f9
parent3f0f48c040ce7767452d34462e7f0897ede70096 (diff)
downloademacs-bf58181a31cc543b4e137ad2929bdbf4d85ae066.tar.gz
emacs-bf58181a31cc543b4e137ad2929bdbf4d85ae066.zip
(Extended Menu Items): Menu item filter functions
can be called at any time.
-rw-r--r--lispref/keymaps.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index 59e2e19966d..e1784dd10a0 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -1909,6 +1909,10 @@ This property provides a way to compute the menu item dynamically.
1909The property value @var{filter-fn} should be a function of one argument; 1909The property value @var{filter-fn} should be a function of one argument;
1910when it is called, its argument will be @var{real-binding}. The 1910when it is called, its argument will be @var{real-binding}. The
1911function should return the binding to use instead. 1911function should return the binding to use instead.
1912
1913Emacs can call this function at any time that it does redisplay or
1914operates on menu data structures, so you should write it so it can
1915safely be called at any time.
1912@end table 1916@end table
1913 1917
1914@node Menu Separators 1918@node Menu Separators