# HG changeset patch # User Juanma Barranquero # Date 1086899908 0 # Node ID 0517f0b254be75618bf2d3a91da0ea662920debb # Parent 71f99388b7292acf59a7e17160d8f8100179c599 (comment-search-forward, comment-search-backward): Fix typos. (comment-region): Doc fix. diff -r 71f99388b729 -r 0517f0b254be lisp/newcomment.el --- a/lisp/newcomment.el Thu Jun 10 20:33:06 2004 +0000 +++ b/lisp/newcomment.el Thu Jun 10 20:38:28 2004 +0000 @@ -356,7 +356,7 @@ "Find a comment start between point and LIMIT. Moves point to inside the comment and returns the position of the comment-starter. If no comment is found, moves point to LIMIT -and raises an error or returns nil of NOERROR is non-nil." +and raises an error or returns nil if NOERROR is non-nil." (if (not comment-use-syntax) (if (re-search-forward comment-start-skip limit noerror) (or (match-end 1) (match-beginning 0)) @@ -392,7 +392,7 @@ "Find a comment start between LIMIT and point. Moves point to inside the comment and returns the position of the comment-starter. If no comment is found, moves point to LIMIT -and raises an error or returns nil of NOERROR is non-nil." +and raises an error or returns nil if NOERROR is non-nil." ;; FIXME: If a comment-start appears inside a comment, we may erroneously ;; stop there. This can be rather bad in general, but since ;; comment-search-backward is only used to find the comment-column (in @@ -955,7 +955,7 @@ (defun comment-region (beg end &optional arg) "Comment or uncomment each line in the region. With just \\[universal-argument] prefix arg, uncomment each line in region BEG .. END. -Numeric prefix arg ARG means use ARG comment characters. +Numeric prefix ARG means use ARG comment characters. If ARG is negative, delete that many comment characters instead. By default, comments start at the left margin, are terminated on each line, even for syntax in which newline does not end the comment and blank lines