From 1b2cd06f4b6f993052632e24c50209816314c004 Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Sun, 19 Jun 2016 23:33:22 +0100 Subject: [PATCH] Fix missing undo-boundary on revert But badly, because I have pushed the undo_boundary call into a fairly random place in a very long function. --- src/fileio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index b11f923..e01045e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4500,6 +4500,10 @@ by calling `format-decode', which see. */) current_buffer->newline_cache, PT - BEG, Z - PT - inserted); + /* Random push an undo boundary here because I don't know where else + to put this call */ + Fundo_boundary(); + if (read_quit) Fsignal (Qquit, Qnil); -- 2.9.0