# HG changeset patch # User Richard M. Stallman # Date 1115716549 0 # Node ID 3b8ac4c8fa501a67d91050ce532ad4cdc67418bf # Parent e451c7eb2d246ff12d216ddff63a79484fec8ac2 (Extended Menu Items): Menu item filter functions can be called at any time. diff -r e451c7eb2d24 -r 3b8ac4c8fa50 lispref/keymaps.texi --- a/lispref/keymaps.texi Tue May 10 09:13:04 2005 +0000 +++ b/lispref/keymaps.texi Tue May 10 09:15:49 2005 +0000 @@ -1909,6 +1909,10 @@ 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