From 6687d6162941b7d5a5d7e41c3a7e1b1a1527538f Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Thu, 30 Jun 2016 22:06:00 +0100 Subject: [PATCH] Fix missing point information in undo * src/undo.c (record_insert): Use record_point instead of prepare_record. Addresses Bug# 21722 --- src/undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/undo.c b/src/undo.c index be5b270..cafe351 100644 --- a/src/undo.c +++ b/src/undo.c @@ -83,7 +83,7 @@ record_insert (ptrdiff_t beg, ptrdiff_t length) if (EQ (BVAR (current_buffer, undo_list), Qt)) return; - prepare_record (); + record_point (beg); /* If this is following another insertion and consecutive with it in the buffer, combine the two. */ -- 2.9.0