summaryrefslogtreecommitdiff
path: root/lispref/positions.texi
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2003-11-21 05:02:08 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2003-11-21 05:02:08 +0000
commit1a3a914b9e2a6a91272e0d564321b8a05112e0c1 (patch)
treedf616f7e41d9a23c2d639a6947c27e88853590b5 /lispref/positions.texi
parentf7f1a248d8327f90790c35ed68003886799bc430 (diff)
downloademacs-1a3a914b9e2a6a91272e0d564321b8a05112e0c1.tar.gz
(Positions): Mention that, if a marker is used a a position, its
buffer is ignored.
Diffstat (limited to 'lispref/positions.texi')
-rw-r--r--lispref/positions.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/lispref/positions.texi b/lispref/positions.texi
index 3f465e034ae..72b84a6a0ce 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -18,7 +18,11 @@ after that position.
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.