changeset 62215:3b8ac4c8fa50

(Extended Menu Items): Menu item filter functions can be called at any time.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 May 2005 09:15:49 +0000
parents e451c7eb2d24
children 0c2ce5566afa
files lispref/keymaps.texi
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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