I've written unit tests and added the lexical-binding header to textmodes/paragraphs.el. I also took the opportunity to clean up some docstrings, and I had to give one function a non-interactive mode. Please let me know if you have any comments. Thanks, Stefan Kangas