Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1bd2023a
Commit
1bd2023a
authored
Mar 14, 2002
by
Richard M. Stallman
Browse files
Update doc of local-map and keymap text properties.
parent
5ed5b2c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
lispref/text.texi
lispref/text.texi
+14
-13
No files found.
lispref/text.texi
View file @
1bd2023a
...
...
@@ -2714,21 +2714,22 @@ You can alter the way help text is displayed by setting the variable
This feature is used in the mode line and for other active text. It is
available starting in Emacs 21.
@item local-map
@cindex keymap of character
@kindex local-map @r{(text property)}
You can specify a different keymap for some of the text in a buffer by
means of the @code{local-map} property. The property's value for the
character after point, if non-@code{nil}, is used for key lookup instead
of the buffer's local map. If the property value is a symbol, the
symbol's function definition is used as the keymap. @xref{Active
Keymaps}.
@item keymap
@cindex keymap of character
@kindex keymap @r{(text property)}
The @code{keymap} property is similar to @code{local-map} but overrides the
buffer's local map (and the map specified by the @code{local-map}
property) rather than replacing it.
The @code{keymap} property specifies an additional keymap for
commands. The property's value for the character after point, if
non-@code{nil}, is used for key lookup before the buffer's local map.
(For mouse clicks, the @code{keymap} property of the character clicked
on is the one used.) If the property value is a symbol, the symbol's
function definition is used as the keymap. @xref{Active Keymaps}.
@item local-map
@kindex local-map @r{(text property)}
This property specifies a keymap to use @emph{instead of} the buffer's
local map. If the property value is a symbol, the symbol's function
definition is used as the keymap. For most purposes (perhaps all
purposes), the @code{keymap} is superior.
@item syntax-table
The @code{syntax-table} property overrides what the syntax table says
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment