/[emacs]/emacs/lispref/syntax.texi
ViewVC logotype

Diff of /emacs/lispref/syntax.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by monnier, Fri Oct 12 01:31:01 2001 UTC revision 1.22 by rms, Sun Nov 25 10:57:45 2001 UTC
# Line 769  You can use @code{forward-comment} to mo Line 769  You can use @code{forward-comment} to mo
769  one comment or several comments.  one comment or several comments.
770    
771  @defun forward-comment count  @defun forward-comment count
772  This function moves point forward across @var{count} comments (backward,  This function moves point forward across @var{count} complete comments
773  if @var{count} is negative).  If it finds anything other than a comment  (that is, including the starting delimiter and the terminating
774  or whitespace, it stops, leaving point at the place where it stopped.  delimiter if any).  It moves backward if @var{count} is negative.  If
775  It also stops after satisfying @var{count}.  it encounters anything other than a comment or whitespace, it stops,
776    leaving point at the place where it stopped.  This includes (for
777    instance) finding the end of a comment when moving forward and
778    expecting the beginning of one.  The function also stops immediately
779    after moving over the specified number of complete comments.
780    
781    This function cannot tell whether the ``comments'' it traverses are
782    embedded within a string.  If they look like comments, it treats them
783    as comments.
784  @end defun  @end defun
785    
786  To move forward over all comments and whitespace following point, use  To move forward over all comments and whitespace following point, use

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26