emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113878: Refine previous change.


From: Xue Fuqiao
Subject: [Emacs-diffs] trunk r113878: Refine previous change.
Date: Wed, 14 Aug 2013 14:02:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113878
revision-id: address@hidden
parent: address@hidden
committer: Xue Fuqiao <address@hidden>
branch nick: trunk
timestamp: Wed 2013-08-14 22:02:46 +0800
message:
  Refine previous change.
modified:
  src/marker.c                   marker.c-20091113204419-o5vbwnq5f7feedwu-156
=== modified file 'src/marker.c'
--- a/src/marker.c      2013-08-14 13:58:25 +0000
+++ b/src/marker.c      2013-08-14 14:02:46 +0000
@@ -536,8 +536,11 @@
 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 nil, makes marker point nowhere so it no longer slows down
-editing in any buffer.  Returns MARKER.  */)
+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.  */)
   (Lisp_Object marker, Lisp_Object position, Lisp_Object buffer)
 {
   return set_marker_internal (marker, position, buffer, 0);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]