Mercurial > emacs
changeset 53104:b0b3d8b864b8
(Overview of Markers): Mention that, if a marker is used a a position,
its buffer is ignored.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Fri, 21 Nov 2003 05:04:07 +0000 |
parents | d79cdcde0da3 |
children | 7b1688ab6fc6 |
files | lispref/markers.texi |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/markers.texi Fri Nov 21 05:02:08 2003 +0000 +++ b/lispref/markers.texi Fri Nov 21 05:04:07 2003 +0000 @@ -28,10 +28,13 @@ @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