Commit ffb6ced1 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(fill-comment-paragraph): Fix simplistic regexp-concatenation.

parent 9028b39e
......@@ -807,7 +807,7 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'."
(looking-at comment-re)))
;; We may have gone too far. Go forward again.
(line-beginning-position
(if (looking-at (concat ".*" comment-start-skip))
(if (looking-at (concat ".*\\(?:" comment-start-skip "\\)"))
1 2))))
;; Find the beginning of the first line past the region to fill.
(save-excursion
......
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