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?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>