brianc/jade-mode

fill-paragraph doesn't respect new-lines in comments

feklee opened this issue · 1 comments

Example:

//- First paragraph.
//-
//- Second paragraph.

Now, when I execute fill-paragraph (M-q) on the comment, then the result is:

//- First paragraph. Second paragraph.

In this case, however, I expect no change at all.

The problem is that adaptive fill doesn't work properly. I don't know what breaks it. You can try setting the fill prefix manually with 'set-fill-prefix (C-x .)