> From: Ihor Radchenko <[email protected]> > Cc: [email protected], [email protected], [email protected], > [email protected] > Date: Sun, 21 Jun 2026 05:03:20 +0000 > > Eli Zaretskii <[email protected]> writes: > > > Sorry, I don't follow. Do you mean the last part of unfill-paragraph, > > viz.: > > > > (let ((fill-column most-positive-fixnum)) > > (fill-region beg end))) > > Yes > > > If so, I'm not sure what you expected unfill-paragraph to do here. > > There's no fill-region-function AFAIK, only > > fill-region-as-paragraph-function. > > The docstring says: > > Join lines of this paragraph and fix up whitespace at joins. > Interactively, if the region is active, join lines of each paragraph in > the region. > > Why not calling fill-paragraph-function in a loop on each paragraph in region?
AFAIU, unfill-paragraph should produce a single paragraph, so looping over several paragraphs and filling each one might not produce the same result. Stefan, WDYT?
