summaryrefslogtreecommitdiff
path: root/lispref/text.texi
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-05-23 09:44:28 +0000
committerGerd Moellmann <gerd@gnu.org>2000-05-23 09:44:28 +0000
commitce75fd23484c39eaf350af874a3ddd82661ed3a9 (patch)
tree0c7b729638653f9041a7945438d23a828bc31848 /lispref/text.texi
parentd1e4948d222344fc08d300536986022c7ca6aa21 (diff)
downloademacs-ce75fd23484c39eaf350af874a3ddd82661ed3a9.tar.gz
*** empty log message ***
Diffstat (limited to 'lispref/text.texi')
-rw-r--r--lispref/text.texi15
1 files changed, 4 insertions, 11 deletions
diff --git a/lispref/text.texi b/lispref/text.texi
index f50c8913518..ac157f70304 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -2659,23 +2659,16 @@ move the mouse onto that text, Emacs displays that string in the echo
area, or in the tooltip window. This feature is used in the mode line.
It is available starting in Emacs 21.
-@item keymap
+@item local-map
@cindex keymap of character
-@kindex keymap @r{(text property)}
+@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{keymap} property. The property's value for the
+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 local-map
-@cindex keymap of character
-@kindex local-map @r{(text property)}
-This property is like the @code{keymap} property, except that it doesn't
-replace the buffer's local map. Keys not defined in the keymap
-specified with @code{local-map} are looked up in the buffer's local map.
-
@item syntax-table
The @code{syntax-table} property overrides what the syntax table says
about this particular character. @xref{Syntax Properties}.
@@ -3069,7 +3062,7 @@ file to visit, based on the position found in the event.
Instead of defining a mouse command for the major mode, you can define
a key binding for the clickable text itself, using the @code{local-map}
-or @code{keymap} text properties:
+text property:
@example
(let ((map (make-sparse-keymap)))