From: Richard M. Stallman Date: Thu, 29 Nov 2001 00:50:17 +0000 (+0000) Subject: Another change in forward-comment. X-Git-Tag: ttn-vms-21-2-B4~18054 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=37778b63182de25bac537a922ac163a53aaa7677;p=emacs.git Another change in forward-comment. --- diff --git a/lispref/syntax.texi b/lispref/syntax.texi index 1135ff14d34..731956407eb 100644 --- a/lispref/syntax.texi +++ b/lispref/syntax.texi @@ -771,12 +771,13 @@ one comment or several comments. @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