1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00

(Overview of Markers): Mention that, if a marker is used a a position,

its buffer is ignored.
This commit is contained in:
Luc Teirlinck 2003-11-21 05:04:07 +00:00
parent 1a3a914b9e
commit 97ce05cfa8

View file

@ -28,10 +28,13 @@ deleted, so that it stays with the two characters on either side of it.
@node Overview of Markers
@section Overview of Markers
A marker specifies a buffer and a position in that buffer. The marker
can be used to represent a position in the functions that require one,
just as an integer could be used. @xref{Positions}, for a complete
description of positions.
A marker specifies a buffer and a position in that buffer. The
marker can be used to represent a position in the functions that
require one, just as an integer could be used. In that case, the
marker's buffer is normally ignored. Of course, a marker used in this
way usually points to a position in the buffer that the function
operates on, but that is entirely the programmer's responsibility.
@xref{Positions}, for a complete description of positions.
A marker has two attributes: the marker position, and the marker
buffer. The marker position is an integer that is equivalent (at a