Mercurial > emacs
diff lisp/textmodes/fill.el @ 49315:7a843709dcda
(fill-comment-paragraph): Fix simplistic regexp-concatenation.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 19 Jan 2003 00:19:44 +0000 |
parents | 6a6be3d3a898 |
children | 5ade352e8d1c |
line wrap: on
line diff
--- a/lisp/textmodes/fill.el Sun Jan 19 00:12:12 2003 +0000 +++ b/lisp/textmodes/fill.el Sun Jan 19 00:19:44 2003 +0000 @@ -807,7 +807,7 @@ (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