summaryrefslogtreecommitdiff
path: root/src/marker.c
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-08-16 08:20:56 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-08-16 08:20:56 +0800
commit2bede2ed9605c3f872f564cc94208cebbf13ac8f (patch)
treec2f1e5714b537ce0b75c1ee22f1ef2cb6c21e173 /src/marker.c
parent0f8a692622e18520c11ae7ae0c3e51b04b410790 (diff)
downloademacs-2bede2ed9605c3f872f564cc94208cebbf13ac8f.tar.gz
Remove documentation of undefined behavior.
* doc/lispref/positions.texi (Character Motion): * doc/lispref/markers.texi (Moving Markers): (Creating Markers): Comment out undefined behavior. * src/marker.c (set_marker): Remove documentation of undefined behavior.
Diffstat (limited to 'src/marker.c')
-rw-r--r--src/marker.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/marker.c b/src/marker.c
index d25e7104b57..2f91bdf9727 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -536,11 +536,8 @@ set_marker_internal (Lisp_Object marker, Lisp_Object position,
DEFUN ("set-marker", Fset_marker, Sset_marker, 2, 3, 0,
doc: /* Position MARKER before character number POSITION in BUFFER.
If BUFFER is omitted or nil, it defaults to the current buffer. If
-POSITION is less than 1, MARKER is moved to the beginning of the
-buffer. If POSITION is greater than the size of the buffer, marker is
-moved to the end of the buffer. If POSITION is nil, makes marker
-point nowhere so it no longer slows down editing in any buffer.
-Returns MARKER. */)
+POSITION is nil, makes marker point nowhere so it no longer slows down
+editing in any buffer. Returns MARKER. */)
(Lisp_Object marker, Lisp_Object position, Lisp_Object buffer)
{
return set_marker_internal (marker, position, buffer, 0);