From bf58181a31cc543b4e137ad2929bdbf4d85ae066 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 May 2005 09:15:49 +0000 Subject: [PATCH] (Extended Menu Items): Menu item filter functions can be called at any time. --- lispref/keymaps.texi | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2