comparison doc/lispref/display.texi @ 94197:3ce489895028

(Overlay Properties): Clarify role of underlying textprop and overlay keymaps for display strings.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 20 Apr 2008 13:38:00 +0000
parents 8a79cbd87921
children 415f68458e61
comparison
equal deleted inserted replaced
94196:81e9585a4a3d 94197:3ce489895028
1510 The @code{keymap} property is similar to @code{local-map} but overrides the 1510 The @code{keymap} property is similar to @code{local-map} but overrides the
1511 buffer's local map (and the map specified by the @code{local-map} 1511 buffer's local map (and the map specified by the @code{local-map}
1512 property) rather than replacing it. 1512 property) rather than replacing it.
1513 @end table 1513 @end table
1514 1514
1515 The @code{local-map} and @code{keymap} properties do not affect a
1516 string displayed by the @code{before-string}, @code{after-string}, or
1517 @code{display} properties. This is only relevant for mouse clicks and
1518 other mouse events that fall on the string, since point is never on
1519 the string. To bind special mouse events for the string, assign it a
1520 @code{local-map} or @code{keymap} text property. @xref{Special
1521 Properties}.
1522
1515 @node Finding Overlays 1523 @node Finding Overlays
1516 @subsection Searching for Overlays 1524 @subsection Searching for Overlays
1517 1525
1518 @defun overlays-at pos 1526 @defun overlays-at pos
1519 This function returns a list of all the overlays that cover the 1527 This function returns a list of all the overlays that cover the