Commit dd7426ea authored by Glenn Morris's avatar Glenn Morris

* newcomment.el (comment-search-forward, comment-search-backward): Doc fix.

parent 5ebb1ee6
2013-06-18 Glenn Morris <rgm@gnu.org>
* newcomment.el (comment-search-forward, comment-search-backward):
Doc fix. (Bug#14376)
2013-06-18 Juanma Barranquero <lekktu@gmail.com> 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
* face-remap.el (buffer-face-toggle): Fix typo in docstring. * face-remap.el (buffer-face-toggle): Fix typo in docstring.
......
...@@ -446,7 +446,9 @@ in strings will not confuse Emacs.") ...@@ -446,7 +446,9 @@ in strings will not confuse Emacs.")
"Find a comment start between point and LIMIT. "Find a comment start between point and LIMIT.
Moves point to inside the comment and returns the position of the Moves point to inside the comment and returns the position of the
comment-starter. If no comment is found, moves point to LIMIT comment-starter. If no comment is found, moves point to LIMIT
and raises an error or returns nil if NOERROR is non-nil." and raises an error or returns nil if NOERROR is non-nil.
Ensure that `comment-normalize-vars' has been called before you use this."
(if (not comment-use-syntax) (if (not comment-use-syntax)
(if (re-search-forward comment-start-skip limit noerror) (if (re-search-forward comment-start-skip limit noerror)
(or (match-end 1) (match-beginning 0)) (or (match-end 1) (match-beginning 0))
...@@ -484,7 +486,9 @@ and raises an error or returns nil if NOERROR is non-nil." ...@@ -484,7 +486,9 @@ and raises an error or returns nil if NOERROR is non-nil."
"Find a comment start between LIMIT and point. "Find a comment start between LIMIT and point.
Moves point to inside the comment and returns the position of the Moves point to inside the comment and returns the position of the
comment-starter. If no comment is found, moves point to LIMIT comment-starter. If no comment is found, moves point to LIMIT
and raises an error or returns nil if NOERROR is non-nil." and raises an error or returns nil if NOERROR is non-nil.
Ensure that `comment-normalize-vars' has been called before you use this."
;; FIXME: If a comment-start appears inside a comment, we may erroneously ;; FIXME: If a comment-start appears inside a comment, we may erroneously
;; stop there. This can be rather bad in general, but since ;; stop there. This can be rather bad in general, but since
;; comment-search-backward is only used to find the comment-column (in ;; comment-search-backward is only used to find the comment-column (in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment