Mercurial > emacs
changeset 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 | 961191767061 |
children | 1ace047a072a |
files | lisp/textmodes/fill.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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