# HG changeset patch # User Chong Yidong # Date 1253849776 0 # Node ID 43be71d128b24642ed44540d96a94372e07af92d # Parent 3a3daa61c9ffd81508711b7562116291074b0f42 * display.texi (Managing Overlays): Document copy-overlay (Bug#4549). diff -r 3a3daa61c9ff -r 43be71d128b2 doc/lispref/ChangeLog --- a/doc/lispref/ChangeLog Fri Sep 25 03:24:52 2009 +0000 +++ b/doc/lispref/ChangeLog Fri Sep 25 03:36:16 2009 +0000 @@ -1,3 +1,8 @@ +2009-09-25 David Engster + + * display.texi (Managing Overlays): Document + copy-overlay (Bug#4549). + 2009-09-22 Glenn Morris * internals.texi (Building Emacs): Mention preloaded-file-list. diff -r 3a3daa61c9ff -r 43be71d128b2 doc/lispref/display.texi --- 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