comparison lispref/positions.texi @ 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 8fccd5a26c77
children e1eb498238f9
comparison
equal deleted inserted replaced
53102:ee7654b3187a 53103:d79cdcde0da3
16 after that position. 16 after that position.
17 17
18 Positions are usually represented as integers starting from 1, but can 18 Positions are usually represented as integers starting from 1, but can
19 also be represented as @dfn{markers}---special objects that relocate 19 also be represented as @dfn{markers}---special objects that relocate
20 automatically when text is inserted or deleted so they stay with the 20 automatically when text is inserted or deleted so they stay with the
21 surrounding characters. @xref{Markers}. 21 surrounding characters. Functions that expect an argument to be a
22 position (an integer), but accept a marker as a substitute, normally
23 ignore the marker buffer. Of course, markers used this way usually
24 point to a position in the buffer that the function operates on, but
25 that is entirely the programmer's responsibility. @xref{Markers}.
22 26
23 See also the ``field'' feature (@pxref{Fields}), which provides 27 See also the ``field'' feature (@pxref{Fields}), which provides
24 functions that are used by many cursor-motion commands. 28 functions that are used by many cursor-motion commands.
25 29
26 @menu 30 @menu