Fix missing undo-boundary on revert-buffer.
commit8f9c1eda934fd842f53be2d4e72c41728f9b5bd1
authorPhillip Lord <phillip.lord@russet.org.uk>
Tue, 28 Jun 2016 07:02:51 +0000 (28 08:02 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Wed, 6 Jul 2016 09:16:10 +0000 (6 10:16 +0100)
tree9a19da35fe38d4db2486e9dacb8f02a69ec63d2f
parent6f285d963d274aaf70d3909598091065505daff1
Fix missing undo-boundary on revert-buffer.

* lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
* src/fileio.c (insert-buffer-contents): Call
  undo-auto--undoably-changed-buffers before changes.

Addresses Bug#23785.

Do not merge to master as c98bc98 also addresses the same bug.
lisp/simple.el
src/fileio.c