I have turn-on-auto-fill
as part of my text-mode-hook
. This works great for new documents, but when I open a buffer that is not filled with hard breaks I rarely want to start doing so to a single paragraph just because I make one edit to the buffer.
Is there a way to scan the whole buffer after opening to see whether it already is auto-filled? And turn on auto-fill-mode
in that case but leave it off otherwise?
I've searched EmacsWiki and MELPA Stable and didn't see anything relevant.