1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00

(Parsing Expressions): Clean up forward-comment

and parse-sexp-lookup-properties.
This commit is contained in:
Richard M. Stallman 2003-10-13 19:28:44 +00:00
parent d398b86c22
commit 075ec3c4c7

View File

@ -771,7 +771,7 @@ end of a comment. This limitation no longer exists.
@vindex parse-sexp-lookup-properties
The behaviour of @code{parse-partial-sexp} is also affected by
@code{parse-sexp-lookup-properties} @xref{Syntax Properties}.
@code{parse-sexp-lookup-properties} (@pxref{Syntax Properties}).
You can use @code{forward-comment} to move forward or backward over
one comment or several comments.
@ -786,8 +786,8 @@ 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. If @var{count} comments are found as
expected, with nothing except whitespace between them, return
@code{t}; otherwise return @code{nil}.
expected, with nothing except whitespace between them, it returns
@code{t}; otherwise it returns @code{nil}.
This function cannot tell whether the ``comments'' it traverses are
embedded within a string. If they look like comments, it treats them