diff options
| author | Richard M. Stallman | 2005-05-10 09:15:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-10 09:15:49 +0000 |
| commit | bf58181a31cc543b4e137ad2929bdbf4d85ae066 (patch) | |
| tree | f9516c6e6d3fee0e258fd7ff50515dadefec20f9 | |
| parent | 3f0f48c040ce7767452d34462e7f0897ede70096 (diff) | |
| download | emacs-bf58181a31cc543b4e137ad2929bdbf4d85ae066.tar.gz emacs-bf58181a31cc543b4e137ad2929bdbf4d85ae066.zip | |
(Extended Menu Items): Menu item filter functions
can be called at any time.
| -rw-r--r-- | lispref/keymaps.texi | 4 |
1 files changed, 4 insertions, 0 deletions
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. | |||
| 1909 | The property value @var{filter-fn} should be a function of one argument; | 1909 | The property value @var{filter-fn} should be a function of one argument; |
| 1910 | when it is called, its argument will be @var{real-binding}. The | 1910 | when it is called, its argument will be @var{real-binding}. The |
| 1911 | function should return the binding to use instead. | 1911 | function should return the binding to use instead. |
| 1912 | |||
| 1913 | Emacs can call this function at any time that it does redisplay or | ||
| 1914 | operates on menu data structures, so you should write it so it can | ||
| 1915 | safely be called at any time. | ||
| 1912 | @end table | 1916 | @end table |
| 1913 | 1917 | ||
| 1914 | @node Menu Separators | 1918 | @node Menu Separators |