]> git.eshelyaron.com Git - emacs.git/commitdiff
* display.texi (Managing Overlays): Document copy-overlay (Bug#4549).
authorChong Yidong <cyd@stupidchicken.com>
Fri, 25 Sep 2009 03:36:16 +0000 (03:36 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 25 Sep 2009 03:36:16 +0000 (03:36 +0000)
doc/lispref/ChangeLog
doc/lispref/display.texi

index 5ff71492944edc8f20ed907b27501a1c5390df32..d121127f31e18071b9b1c505c42425239d4cd6af 100644 (file)
@@ -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.
index d1f44352a99727e5f701f748ee971243525a16c5..8feb8ea8c813d633e370ed4cce9dd60fdb7b5fc8 100644 (file)
@@ -1267,6 +1267,14 @@ the specified region.  If @var{start} and/or @var{end} are omitted or
 @code{nil}, that means the beginning and end of the buffer respectively.
 Therefore, @code{(remove-overlays)} removes all the overlays in the
 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: