changeset 53103:d79cdcde0da3

(Positions): 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:02:08 +0000
parents ee7654b3187a
children b0b3d8b864b8
files lispref/positions.texi
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/positions.texi	Fri Nov 21 05:01:17 2003 +0000
+++ b/lispref/positions.texi	Fri Nov 21 05:02:08 2003 +0000
@@ -18,7 +18,11 @@
   Positions are usually represented as integers starting from 1, but can
 also be represented as @dfn{markers}---special objects that relocate
 automatically when text is inserted or deleted so they stay with the
-surrounding characters.  @xref{Markers}.
+surrounding characters.  Functions that expect an argument to be a
+position (an integer), but accept a marker as a substitute, normally
+ignore the marker buffer.  Of course, markers used this way usually
+point to a position in the buffer that the function operates on, but
+that is entirely the programmer's responsibility.  @xref{Markers}.
 
   See also the ``field'' feature (@pxref{Fields}), which provides
 functions that are used by many cursor-motion commands.