From: Richard M. Stallman Date: Tue, 10 May 2005 09:15:49 +0000 (+0000) Subject: (Extended Menu Items): Menu item filter functions X-Git-Tag: ttn-vms-21-2-B4~410 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf58181a31cc543b4e137ad2929bdbf4d85ae066;p=emacs.git (Extended Menu Items): Menu item filter functions can be called at any time. --- 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. 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