changeset 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 3a3daa61c9ff
children d05b41e0a7ef
files doc/lispref/ChangeLog doc/lispref/display.texi
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <deng@randomsample.de>
+
+	* display.texi (Managing Overlays): Document
+	copy-overlay (Bug#4549).
+
 2009-09-22  Glenn Morris  <rgm@gnu.org>
 
 	* internals.texi (Building Emacs): Mention preloaded-file-list.
--- 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