Eli Zaretskii <[email protected]> writes: >> I think it is both. >> unfill-paragraph ignores Org mode-specific fill-paragraph-function, >> directly calling fill-region. I think it is a bug on Emacs side. > > No, unfill-paragraph calls fill-forward-paragraph-function. I guess > Org doesn't bind that to its own function?
Org does bind that to its own function. Org also binds fill-paragraph-function to its own function. However, unlike fill-paragraph, unfill-paragraph ignores major-mode-specific fill-paragraph-function and unconditionally calls a generic version. -- 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>
