# HG changeset patch # User Dave Love # Date 1065459019 0 # Node ID 69d6dc55b638905b9cb6f3b46dd6d1d6a1fc567f # Parent 2c00436e93f713336c882521b30225cf0df29b80 (Parsing Expressions): Mention parse-sexp-lookup-properties here. forward-comment: return values diff -r 2c00436e93f7 -r 69d6dc55b638 lispref/syntax.texi --- a/lispref/syntax.texi Mon Oct 06 16:46:25 2003 +0000 +++ b/lispref/syntax.texi Mon Oct 06 16:50:19 2003 +0000 @@ -769,6 +769,10 @@ end of a comment. This limitation no longer exists. @end defvar +@vindex parse-sexp-lookup-properties +The behaviour of @code{parse-partial-sexp} is also affected by +@code{parse-sexp-lookup-properties} @xref{Syntax Properties}. + You can use @code{forward-comment} to move forward or backward over one comment or several comments. @@ -781,7 +785,9 @@ 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. +number of complete comments. If @var{count} comments are found as +expected, with nothing except whitespace between them, return +@code{t}; otherwise return @code{nil}. This function cannot tell whether the ``comments'' it traverses are embedded within a string. If they look like comments, it treats them