From: Juanma Barranquero Date: Thu, 10 Jun 2004 20:38:28 +0000 (+0000) Subject: (comment-search-forward, comment-search-backward): Fix typos. X-Git-Tag: ttn-vms-21-2-B4~5843 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=11a26e05696983a146197e8d88b7654ee1e15909;p=emacs.git (comment-search-forward, comment-search-backward): Fix typos. (comment-region): Doc fix. --- diff --git a/lisp/newcomment.el b/lisp/newcomment.el index 924cf0ed8c4..2b9122a8eb9 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@ -356,7 +356,7 @@ in strings will not confuse Emacs.") "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 @@ and raises an error or returns nil of NOERROR is non-nil." "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 @@ rather than at left margin." (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