aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-04-20 13:38:00 +0000
committerChong Yidong2008-04-20 13:38:00 +0000
commit32c9459805678310176a9dc2f539ee072e593b07 (patch)
tree758661c30a45e71cb2e5e36d17e1d454734a6a78
parent7c42e639bf2413fa4262af163be345e4eee36719 (diff)
downloademacs-32c9459805678310176a9dc2f539ee072e593b07.tar.gz
emacs-32c9459805678310176a9dc2f539ee072e593b07.zip
(Overlay Properties): Clarify role of underlying textprop and overlay
keymaps for display strings.
-rw-r--r--doc/lispref/display.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index c8118deb14e..1f9cfdbd72a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1512,6 +1512,14 @@ buffer's local map (and the map specified by the @code{local-map}
1512property) rather than replacing it. 1512property) rather than replacing it.
1513@end table 1513@end table
1514 1514
1515The @code{local-map} and @code{keymap} properties do not affect a
1516string displayed by the @code{before-string}, @code{after-string}, or
1517@code{display} properties. This is only relevant for mouse clicks and
1518other mouse events that fall on the string, since point is never on
1519the string. To bind special mouse events for the string, assign it a
1520@code{local-map} or @code{keymap} text property. @xref{Special
1521Properties}.
1522
1515@node Finding Overlays 1523@node Finding Overlays
1516@subsection Searching for Overlays 1524@subsection Searching for Overlays
1517 1525