From: Luc Teirlinck Date: Fri, 21 Nov 2003 05:02:08 +0000 (+0000) Subject: (Positions): Mention that, if a marker is used a a position, its X-Git-Tag: ttn-vms-21-2-B4~8325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a3a914b9e2a6a91272e0d564321b8a05112e0c1;p=emacs.git (Positions): Mention that, if a marker is used a a position, its buffer is ignored. --- 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.