comparison 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
comparison
equal deleted inserted replaced
105191:3a3daa61c9ff 105192:43be71d128b2
1265 If @var{name} is omitted or @code{nil}, it means to delete all overlays in 1265 If @var{name} is omitted or @code{nil}, it means to delete all overlays in
1266 the specified region. If @var{start} and/or @var{end} are omitted or 1266 the specified region. If @var{start} and/or @var{end} are omitted or
1267 @code{nil}, that means the beginning and end of the buffer respectively. 1267 @code{nil}, that means the beginning and end of the buffer respectively.
1268 Therefore, @code{(remove-overlays)} removes all the overlays in the 1268 Therefore, @code{(remove-overlays)} removes all the overlays in the
1269 current buffer. 1269 current buffer.
1270 @end defun
1271
1272 @defun copy-overlay overlay
1273 This function returns a copy of @var{overlay}. The copy has the same
1274 endpoints and properties as @var{overlay}. However, the marker
1275 insertion type for the start of the overlay and for the end of the
1276 overlay are set to their default values (@pxref{Marker Insertion
1277 Types}).
1270 @end defun 1278 @end defun
1271 1279
1272 Here are some examples: 1280 Here are some examples:
1273 1281
1274 @example 1282 @example