Mercurial > emacs
comparison doc/lispref/keymaps.texi @ 94198:5f9b227e3b2e
(Active Keymaps): Clarify role of underlying textprop and overlay
keymaps for display strings.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 20 Apr 2008 13:38:19 +0000 |
parents | 910c892cc458 |
children | 6d85304f4f12 |
comparison
equal
deleted
inserted
replaced
94197:3ce489895028 | 94198:5f9b227e3b2e |
---|---|
603 When the key sequence starts with a mouse event (optionally preceded | 603 When the key sequence starts with a mouse event (optionally preceded |
604 by a symbolic prefix), the active keymaps are determined based on the | 604 by a symbolic prefix), the active keymaps are determined based on the |
605 position in that event. If the event happened on a string embedded | 605 position in that event. If the event happened on a string embedded |
606 with a @code{display}, @code{before-string}, or @code{after-string} | 606 with a @code{display}, @code{before-string}, or @code{after-string} |
607 property (@pxref{Special Properties}), the non-@code{nil} map | 607 property (@pxref{Special Properties}), the non-@code{nil} map |
608 properties of the string override those of the buffer. | 608 properties of the string override those of the buffer (if the |
609 underlying buffer text contains map properties in its text properties | |
610 or overlays, they are ignored). | |
609 | 611 |
610 The @dfn{global keymap} holds the bindings of keys that are defined | 612 The @dfn{global keymap} holds the bindings of keys that are defined |
611 regardless of the current buffer, such as @kbd{C-f}. The variable | 613 regardless of the current buffer, such as @kbd{C-f}. The variable |
612 @code{global-map} holds this keymap, which is always active. | 614 @code{global-map} holds this keymap, which is always active. |
613 | 615 |