comparison man/lispref/syntax.texi @ 446:1ccc32a20af4 r21-2-38

Import from CVS: tag r21-2-38
author cvs
date Mon, 13 Aug 2007 11:37:21 +0200
parents 576fb035e263
children ccaf90c5a53a
comparison
equal deleted inserted replaced
445:34f3776fcf0e 446:1ccc32a20af4
664 @end defvar 664 @end defvar
665 665
666 You can use @code{forward-comment} to move forward or backward over 666 You can use @code{forward-comment} to move forward or backward over
667 one comment or several comments. 667 one comment or several comments.
668 668
669 @defun forward-comment count &optional buffer 669 @defun forward-comment &optional count buffer
670 This function moves point forward across @var{count} comments (backward, 670 This function moves point forward across @var{count} comments (backward,
671 if @var{count} is negative). If it finds anything other than a comment 671 if @var{count} is negative). If it finds anything other than a comment
672 or whitespace, it stops, leaving point at the place where it stopped. 672 or whitespace, it stops, leaving point at the place where it stopped.
673 It also stops after satisfying @var{count}. 673 It also stops after satisfying @var{count}. @var{count} defaults to @code{1}.
674 674
675 Optional argument @var{buffer} defaults to the current buffer. 675 Optional argument @var{buffer} defaults to the current buffer.
676 @end defun 676 @end defun
677 677
678 To move forward over all comments and whitespace following point, use 678 To move forward over all comments and whitespace following point, use
679 @code{(forward-comment (buffer-size))}. @code{(buffer-size)} is a good 679 @code{(forward-comment (buffer-size))}. @code{(buffer-size)} is a good
680 argument to use, because the number of comments in the buffer cannot 680 argument to use, because the number of comments in the buffer cannot