diff options
| author | Richard M. Stallman | 1995-07-18 23:20:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-18 23:20:50 +0000 |
| commit | 4b4b65a6ca4d144ffce0b0856dfab2d6e31102ff (patch) | |
| tree | 93132c417eae93f2457abd1c0ad434f379db1598 /lispref | |
| parent | 5fe8e44d85343486746d3e2a225285b4b1038445 (diff) | |
| download | emacs-4b4b65a6ca4d144ffce0b0856dfab2d6e31102ff.tar.gz emacs-4b4b65a6ca4d144ffce0b0856dfab2d6e31102ff.zip | |
Update overriding-local-map-menu-flag.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/keymaps.texi | 30 |
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, | |||
| 582 | except for the current global map. | 582 | except for the current global map. |
| 583 | @end defvar | 583 | @end defvar |
| 584 | 584 | ||
| 585 | @defvar overriding-local-map-menu-flag | ||
| 586 | If this variable is non-@code{nil}, the value of | ||
| 587 | @code{overriding-local-map} can affect the display of the menu bar. The | ||
| 588 | default value is @code{nil}, so @code{overriding-local-map} has no | ||
| 589 | effect on the menu bar. | ||
| 590 | |||
| 591 | Note that @code{overriding-local-map} does affect the execution of key | ||
| 592 | sequences entered using the menu bar, even if it does not affect the | ||
| 593 | menu bar display. So if a menu bar key sequence comes in, you should | ||
| 594 | clear @code{overriding-local-map} before looking up and executing that | ||
| 595 | key sequence. Modes that use @code{overriding-local-map} would | ||
| 596 | typically do this anyway; normally they respond to events that they do | ||
| 597 | not handle by ``unreading'' them and exiting. | ||
| 598 | @end defvar | ||
| 599 | |||
| 600 | @defvar overriding-terminal-local-map | 585 | @defvar overriding-terminal-local-map |
| 601 | If non-@code{nil}, this variable holds a keymap to use instead of | 586 | If 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 | |||
| 607 | incremental search mode. | 592 | incremental search mode. |
| 608 | @end defvar | 593 | @end defvar |
| 609 | 594 | ||
| 595 | @defvar overriding-local-map-menu-flag | ||
| 596 | If this variable is non-@code{nil}, the value of | ||
| 597 | @code{overriding-local-map} or @code{overriding-terminal-local-map} can | ||
| 598 | affect the display of the menu bar. The default value is @code{nil}, so | ||
| 599 | those map variables have no effect on the menu bar. | ||
| 600 | |||
| 601 | Note that these two map variables do affect the execution of key | ||
| 602 | sequences entered using the menu bar, even if they do not affect the | ||
| 603 | menu bar display. So if a menu bar key sequence comes in, you should | ||
| 604 | clear the variables before looking up and executing that key sequence. | ||
| 605 | Modes that use the variables would typically do this anyway; normally | ||
| 606 | they respond to events that they do not handle by ``unreading'' them and | ||
| 607 | exiting. | ||
| 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 |