Mercurial > emacs
comparison lispref/syntax.texi @ 41653:539c02b5cd0c
Another change in forward-comment.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 Nov 2001 00:50:17 +0000 |
parents | 026c44f15054 |
children | d8ad3f9bd404 |
comparison
equal
deleted
inserted
replaced
41652:5223683cd329 | 41653:539c02b5cd0c |
---|---|
769 one comment or several comments. | 769 one comment or several comments. |
770 | 770 |
771 @defun forward-comment count | 771 @defun forward-comment count |
772 This function moves point forward across @var{count} complete comments | 772 This function moves point forward across @var{count} complete comments |
773 (that is, including the starting delimiter and the terminating | 773 (that is, including the starting delimiter and the terminating |
774 delimiter if any). It moves backward if @var{count} is negative. If | 774 delimiter if any), plus any whitespace encountered on the way. It |
775 it encounters anything other than a comment or whitespace, it stops, | 775 moves backward if @var{count} is negative. If it encounters anything |
776 leaving point at the place where it stopped. This includes (for | 776 other than a comment or whitespace, it stops, leaving point at the |
777 instance) finding the end of a comment when moving forward and | 777 place where it stopped. This includes (for instance) finding the end |
778 expecting the beginning of one. The function also stops immediately | 778 of a comment when moving forward and expecting the beginning of one. |
779 after moving over the specified number of complete comments. | 779 The function also stops immediately after moving over the specified |
780 number of complete comments. | |
780 | 781 |
781 This function cannot tell whether the ``comments'' it traverses are | 782 This function cannot tell whether the ``comments'' it traverses are |
782 embedded within a string. If they look like comments, it treats them | 783 embedded within a string. If they look like comments, it treats them |
783 as comments. | 784 as comments. |
784 @end defun | 785 @end defun |