aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman1995-07-18 23:20:50 +0000
committerRichard M. Stallman1995-07-18 23:20:50 +0000
commit4b4b65a6ca4d144ffce0b0856dfab2d6e31102ff (patch)
tree93132c417eae93f2457abd1c0ad434f379db1598 /lispref
parent5fe8e44d85343486746d3e2a225285b4b1038445 (diff)
downloademacs-4b4b65a6ca4d144ffce0b0856dfab2d6e31102ff.tar.gz
emacs-4b4b65a6ca4d144ffce0b0856dfab2d6e31102ff.zip
Update overriding-local-map-menu-flag.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/keymaps.texi30
1 files changed, 15 insertions, 15 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index adb0a8be835..e8edf59b2a0 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -582,21 +582,6 @@ keymap, if any, overrides all other maps that would have been active,
582except for the current global map. 582except for the current global map.
583@end defvar 583@end defvar
584 584
585@defvar overriding-local-map-menu-flag
586If this variable is non-@code{nil}, the value of
587@code{overriding-local-map} can affect the display of the menu bar. The
588default value is @code{nil}, so @code{overriding-local-map} has no
589effect on the menu bar.
590
591Note that @code{overriding-local-map} does affect the execution of key
592sequences entered using the menu bar, even if it does not affect the
593menu bar display. So if a menu bar key sequence comes in, you should
594clear @code{overriding-local-map} before looking up and executing that
595key sequence. Modes that use @code{overriding-local-map} would
596typically do this anyway; normally they respond to events that they do
597not handle by ``unreading'' them and exiting.
598@end defvar
599
600@defvar overriding-terminal-local-map 585@defvar overriding-terminal-local-map
601If non-@code{nil}, this variable holds a keymap to use instead of 586If non-@code{nil}, this variable holds a keymap to use instead of
602@code{overriding-local-map}, the buffer's local keymap and all the minor 587@code{overriding-local-map}, the buffer's local keymap and all the minor
@@ -607,6 +592,21 @@ buffer-local. @xref{Multiple Displays}. It is used to implement
607incremental search mode. 592incremental search mode.
608@end defvar 593@end defvar
609 594
595@defvar overriding-local-map-menu-flag
596If this variable is non-@code{nil}, the value of
597@code{overriding-local-map} or @code{overriding-terminal-local-map} can
598affect the display of the menu bar. The default value is @code{nil}, so
599those map variables have no effect on the menu bar.
600
601Note that these two map variables do affect the execution of key
602sequences entered using the menu bar, even if they do not affect the
603menu bar display. So if a menu bar key sequence comes in, you should
604clear the variables before looking up and executing that key sequence.
605Modes that use the variables would typically do this anyway; normally
606they respond to events that they do not handle by ``unreading'' them and
607exiting.
608@end defvar
609
610@node Key Lookup 610@node Key Lookup
611@section Key Lookup 611@section Key Lookup
612@cindex key lookup 612@cindex key lookup