]> code.delx.au - gnu-emacs/blobdiff - lispref/keymaps.texi
(Major Mode Conventions): A derived mode only needs to put the call to
[gnu-emacs] / lispref / keymaps.texi
index 59e2e19966d689e97b41549e086461393e64da46..63832ced1b4b4149774f6f0ba1d6aa61539031ca 100644 (file)
@@ -666,6 +666,7 @@ commands use this function.
 
 @c Emacs 19 feature
 @defvar minor-mode-map-alist
+@anchor{Definition of minor-mode-map-alist}
 This variable is an alist describing keymaps that may or may not be
 active according to the values of certain variables.  Its elements look
 like this:
@@ -1909,6 +1910,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