Lennart Borgman wrote:
Richard Stallman wrote:
If you do fill-paragraph on a paragraph that is already filled in an
Elisp buffer there is an undo entry added and the buffer is set to
modified. Is that correct?
It would be better to avoid modifying the buffer. This has not been
implemented because it isn't trivial to do.
Would it be possible to just set the modified flag correctly? Can the
undo list be truncated?
Yes (at least the first part), but it is not easy to detect when a buffer
is not modified. If you can tell you are not modifying the buffer, you
can as well not call `insert' and friends at all.
Paul