diff options
| author | Dave Love | 2003-10-06 16:50:19 +0000 |
|---|---|---|
| committer | Dave Love | 2003-10-06 16:50:19 +0000 |
| commit | cf4ccadb2cf76538e319dcb294324f48d80cb40e (patch) | |
| tree | b4fc73f40cc6f394c1c2e5a10dd2b0d9390c07ce | |
| parent | b68c6256afb00a08a2620a9c3e46d43b0e9f8c03 (diff) | |
| download | emacs-cf4ccadb2cf76538e319dcb294324f48d80cb40e.tar.gz emacs-cf4ccadb2cf76538e319dcb294324f48d80cb40e.zip | |
(Parsing Expressions): Mention parse-sexp-lookup-properties here.
forward-comment: return values
| -rw-r--r-- | lispref/syntax.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lispref/syntax.texi b/lispref/syntax.texi index b9ac26188d7..217e0ccbd67 100644 --- a/lispref/syntax.texi +++ b/lispref/syntax.texi | |||
| @@ -769,6 +769,10 @@ necessary make this variable @code{nil}, since not every newline is the | |||
| 769 | end of a comment. This limitation no longer exists. | 769 | end of a comment. This limitation no longer exists. |
| 770 | @end defvar | 770 | @end defvar |
| 771 | 771 | ||
| 772 | @vindex parse-sexp-lookup-properties | ||
| 773 | The behaviour of @code{parse-partial-sexp} is also affected by | ||
| 774 | @code{parse-sexp-lookup-properties} @xref{Syntax Properties}. | ||
| 775 | |||
| 772 | You can use @code{forward-comment} to move forward or backward over | 776 | You can use @code{forward-comment} to move forward or backward over |
| 773 | one comment or several comments. | 777 | one comment or several comments. |
| 774 | 778 | ||
| @@ -781,7 +785,9 @@ other than a comment or whitespace, it stops, leaving point at the | |||
| 781 | place where it stopped. This includes (for instance) finding the end | 785 | place where it stopped. This includes (for instance) finding the end |
| 782 | of a comment when moving forward and expecting the beginning of one. | 786 | of a comment when moving forward and expecting the beginning of one. |
| 783 | The function also stops immediately after moving over the specified | 787 | The function also stops immediately after moving over the specified |
| 784 | number of complete comments. | 788 | number of complete comments. If @var{count} comments are found as |
| 789 | expected, with nothing except whitespace between them, return | ||
| 790 | @code{t}; otherwise return @code{nil}. | ||
| 785 | 791 | ||
| 786 | This function cannot tell whether the ``comments'' it traverses are | 792 | This function cannot tell whether the ``comments'' it traverses are |
| 787 | embedded within a string. If they look like comments, it treats them | 793 | embedded within a string. If they look like comments, it treats them |