]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill-comment-paragraph): Fix simplistic regexp-concatenation.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 19 Jan 2003 00:19:44 +0000 (00:19 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 19 Jan 2003 00:19:44 +0000 (00:19 +0000)
lisp/textmodes/fill.el

index 111cc10ab35f86ec60955a776c6c744a0ef10e20..f58a2bb53cc86cdeb9aba193dbc2a158d1b5f80c 100644 (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