diff man/lispref/extents.texi @ 207:e45d5e7c476e r20-4b2

Import from CVS: tag r20-4b2
author cvs
date Mon, 13 Aug 2007 10:03:52 +0200
parents 0d2f883870bc
children 78478c60bfcd
line wrap: on
line diff
--- a/man/lispref/extents.texi	Mon Aug 13 10:02:48 2007 +0200
+++ b/man/lispref/extents.texi	Mon Aug 13 10:03:52 2007 +0200
@@ -481,6 +481,11 @@
 stored.)
 @end defun
 
+@defun set-extent-properties extent plist
+Change some properties of @var{extent}.  @var{plist} is a property
+list.  This is useful to change many extent properties at once.
+@end defun
+
 The following table lists the properties with predefined meanings, along
 with their allowable values.
 
@@ -594,6 +599,15 @@
 (@code{text}, @code{whitespace}, @code{inside-margin}, or
 @code{outside-margin}) The layout policy for this extent's end glyph.
 Defaults to @code{text}.  @xref{Annotations}.
+
+@item initial-redisplay-function
+(any funcallable object) The function to be called the first time (a
+part of) the extent is redisplayed.  It will be called with the extent
+as its argument.
+
+This is used by @code{lazy-shot} to implement lazy font-locking.  The
+functionality is still experimental, and may change without further
+notice.
 @end table
 
 The following convenience functions are provided for accessing
@@ -668,7 +682,8 @@
 
 @defun set-extent-keymap extent keymap
 This function sets the @code{keymap} property of @var{extent} to
-@var{keymap}.
+@var{keymap}.  @var{keymap} must be either a keymap object, or
+@code{nil}.
 @end defun
 
 @defun set-extent-begin-glyph-layout extent layout
@@ -693,6 +708,11 @@
 respectively. (@var{layout} defaults to @code{text} if not specified.)
 @end defun
 
+@defun set-extent-initial-redisplay-function extent function
+This function sets the @code{initial-redisplay-function} property of the 
+extent to @var{function}.
+@end defun
+
 @node Detached Extents
 @section Detached Extents
 @cindex detached extent