comparison lispref/markers.texi @ 54063:3e2d6f6c8e51

(Marker Insertion Types): Minor change.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 18 Feb 2004 04:58:29 +0000
parents b0b3d8b864b8
children f8a2c975db26
comparison
equal deleted inserted replaced
54062:b03c387f73cf 54063:3e2d6f6c8e51
324 the inserted text, or point after it. You can specify which one a given 324 the inserted text, or point after it. You can specify which one a given
325 marker should do by setting its @dfn{insertion type}. Note that use of 325 marker should do by setting its @dfn{insertion type}. Note that use of
326 @code{insert-before-markers} ignores markers' insertion types, always 326 @code{insert-before-markers} ignores markers' insertion types, always
327 relocating a marker to point after the inserted text. 327 relocating a marker to point after the inserted text.
328 328
329 Most functions that create markers, without explicitly specifying an
330 insertion type, create them with insertion type @code{nil}. Also, the
331 mark has, by default, insertion type @code{nil}.
332
333 @defun set-marker-insertion-type marker type 329 @defun set-marker-insertion-type marker type
334 This function sets the insertion type of marker @var{marker} to 330 This function sets the insertion type of marker @var{marker} to
335 @var{type}. If @var{type} is @code{t}, @var{marker} will advance when 331 @var{type}. If @var{type} is @code{t}, @var{marker} will advance when
336 text is inserted at its position. If @var{type} is @code{nil}, 332 text is inserted at its position. If @var{type} is @code{nil},
337 @var{marker} does not advance when text is inserted there. 333 @var{marker} does not advance when text is inserted there.
338 @end defun 334 @end defun
339 335
340 @defun marker-insertion-type marker 336 @defun marker-insertion-type marker
341 This function reports the current insertion type of @var{marker}. 337 This function reports the current insertion type of @var{marker}.
342 @end defun 338 @end defun
339
340 Most functions that create markers, without explicitly specifying an
341 insertion type, create them with insertion type @code{nil}. Also, the
342 mark has, by default, insertion type @code{nil}.
343 343
344 @node Moving Markers 344 @node Moving Markers
345 @section Moving Marker Positions 345 @section Moving Marker Positions
346 346
347 This section describes how to change the position of an existing 347 This section describes how to change the position of an existing