Mercurial > emacs
changeset 41653:539c02b5cd0c
Another change in forward-comment.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 Nov 2001 00:50:17 +0000 |
parents | 5223683cd329 |
children | bcda42f1f3db |
files | lispref/syntax.texi |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/syntax.texi Thu Nov 29 00:49:32 2001 +0000 +++ b/lispref/syntax.texi Thu Nov 29 00:50:17 2001 +0000 @@ -771,12 +771,13 @@ @defun forward-comment count This function moves point forward across @var{count} complete comments (that is, including the starting delimiter and the terminating -delimiter if any). It moves backward if @var{count} is negative. If -it encounters anything other than a comment or whitespace, it stops, -leaving point at the place where it stopped. This includes (for -instance) finding the end of a comment when moving forward and -expecting the beginning of one. The function also stops immediately -after moving over the specified number of complete comments. +delimiter if any), plus any whitespace encountered on the way. It +moves backward if @var{count} is negative. If it encounters anything +other than a comment or whitespace, it stops, leaving point at the +place where it stopped. This includes (for instance) finding the end +of a comment when moving forward and expecting the beginning of one. +The function also stops immediately after moving over the specified +number of complete comments. This function cannot tell whether the ``comments'' it traverses are embedded within a string. If they look like comments, it treats them