Update of /project/climacs/cvsroot/climacs/Doc In directory common-lisp.net:/tmp/cvs-serv20634/Doc
Modified Files: climacs-internals.texi Log Message: Moved forward-object and backward-object to the buffer protocol. Updated buffer.lisp and base.lisp accordingly. Also added the documentation of these functions to the Texinfo documentation.
Date: Sat Feb 5 08:04:07 2005 Author: rstrandh
Index: climacs/Doc/climacs-internals.texi diff -u climacs/Doc/climacs-internals.texi:1.10 climacs/Doc/climacs-internals.texi:1.11 --- climacs/Doc/climacs-internals.texi:1.10 Wed Feb 2 16:20:17 2005 +++ climacs/Doc/climacs-internals.texi Sat Feb 5 08:04:06 2005 @@ -157,6 +157,22 @@ the size of the buffer. @end deffn
+@deffn {Generic Function} {forward-object} mark &optional (count 1) + +Move the mark forward the number of positions indicated by count. +This function could be implemented by an incf on the offset of the +mark, but many buffer implementations can implement this function much +more efficiently in a different way. +@end deffn + +@deffn {Generic Function} {backward-object} mark &optional (count 1) + +Move the mark backward the number of positions indicated by count. +This function could be implemented by a decf on the offset of the +mark, but many buffer implementations can implement this function much +more efficiently in a different way. +@end deffn + @deffn {Generic Function} {mark<} mark1 mark2
Return t if the offset of mark1 is strictly less than that of mark2.