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

This commit is contained in:
Stefan Monnier 2003-01-19 00:19:44 +00:00
parent 9028b39e36
commit ffb6ced1ce

View file

@ -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