aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-11-29 00:50:17 +0000
committerRichard M. Stallman2001-11-29 00:50:17 +0000
commit37778b63182de25bac537a922ac163a53aaa7677 (patch)
tree58d6512352f8ba4650050905c049d827d4f11bae
parentbf5367b9c5c6bece7e66812fb53192cb376837cb (diff)
downloademacs-37778b63182de25bac537a922ac163a53aaa7677.tar.gz
emacs-37778b63182de25bac537a922ac163a53aaa7677.zip
Another change in forward-comment.
-rw-r--r--lispref/syntax.texi13
1 files changed, 7 insertions, 6 deletions
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.
771@defun forward-comment count 771@defun forward-comment count
772This function moves point forward across @var{count} complete comments 772This function moves point forward across @var{count} complete comments
773(that is, including the starting delimiter and the terminating 773(that is, including the starting delimiter and the terminating
774delimiter if any). It moves backward if @var{count} is negative. If 774delimiter if any), plus any whitespace encountered on the way. It
775it encounters anything other than a comment or whitespace, it stops, 775moves backward if @var{count} is negative. If it encounters anything
776leaving point at the place where it stopped. This includes (for 776other than a comment or whitespace, it stops, leaving point at the
777instance) finding the end of a comment when moving forward and 777place where it stopped. This includes (for instance) finding the end
778expecting the beginning of one. The function also stops immediately 778of a comment when moving forward and expecting the beginning of one.
779after moving over the specified number of complete comments. 779The function also stops immediately after moving over the specified
780number of complete comments.
780 781
781This function cannot tell whether the ``comments'' it traverses are 782This function cannot tell whether the ``comments'' it traverses are
782embedded within a string. If they look like comments, it treats them 783embedded within a string. If they look like comments, it treats them