2762 |
@cindex keymap of character |
@cindex keymap of character |
2763 |
@kindex keymap @r{(text property)} |
@kindex keymap @r{(text property)} |
2764 |
The @code{keymap} property specifies an additional keymap for |
The @code{keymap} property specifies an additional keymap for |
2765 |
commands. The property's value for the character after point, if |
commands. The property's value for the character before point applies |
2766 |
non-@code{nil}, is used for key lookup before the buffer's local map. |
if it is non-@code{nil} and rear-sticky, and the property's value for |
2767 |
(For mouse clicks, the @code{keymap} property of the character clicked |
the character after point applies if it is non-@code{nil} and |
2768 |
on is the one used.) If the property value is a symbol, the symbol's |
front-sticky. When the value applies, it is used for key lookup |
2769 |
function definition is used as the keymap. @xref{Active Keymaps}. |
before the buffer's local map. (For mouse clicks, the position of the |
2770 |
|
click is used instead of the position of point.) If the property |
2771 |
|
value is a symbol, the symbol's function definition is used as the |
2772 |
|
keymap. @xref{Active Keymaps}. |
2773 |
|
|
2774 |
@item local-map |
@item local-map |
2775 |
@kindex local-map @r{(text property)} |
@kindex local-map @r{(text property)} |
2776 |
This property specifies a keymap to use @emph{instead of} the buffer's |
This property works like @code{keymap} except that it specifies a |
2777 |
local map. If the property value is a symbol, the symbol's function |
keymap to use @emph{instead of} the buffer's local map. For most |
2778 |
definition is used as the keymap. For most purposes (perhaps all |
purposes (perhaps all purposes), the @code{keymap} is superior. |
|
purposes), the @code{keymap} is superior. |
|
2779 |
|
|
2780 |
@item syntax-table |
@item syntax-table |
2781 |
The @code{syntax-table} property overrides what the syntax table says |
The @code{syntax-table} property overrides what the syntax table says |