1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

* display.texi (Managing Overlays): Document copy-overlay (Bug#4549).

This commit is contained in:
Chong Yidong 2009-09-25 03:36:16 +00:00
parent cbdf1202c9
commit 78427304a6
2 changed files with 13 additions and 0 deletions

View 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.

View 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: