Mercurial > emacs
diff doc/lispref/display.texi @ 105192:43be71d128b2
* display.texi (Managing Overlays): Document copy-overlay (Bug#4549).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 25 Sep 2009 03:36:16 +0000 |
parents | b5e40c2f5b4d |
children | 79fa2d910b72 |
line wrap: on
line diff
--- a/doc/lispref/display.texi Fri Sep 25 03:24:52 2009 +0000 +++ b/doc/lispref/display.texi Fri Sep 25 03:36:16 2009 +0000 @@ -1269,6 +1269,14 @@ current buffer. @end defun +@defun copy-overlay overlay +This function returns a copy of @var{overlay}. The copy has the same +endpoints and properties as @var{overlay}. However, the marker +insertion type for the start of the overlay and for the end of the +overlay are set to their default values (@pxref{Marker Insertion +Types}). +@end defun + Here are some examples: @example