Mercurial > emacs
diff lispref/keymaps.texi @ 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 | e224865fdbb7 |
children | 86d89e21c6aa 62afea0771d8 |
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