From 5575db9216e949fa1535dac33eec9b2abb48fab4 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sat, 17 Jun 2017 16:08:16 +0200 Subject: [PATCH] Remove unnecessary point motion * src/editfns.c (Freplace_buffer_contents): Remove unnecessary point motion. --- src/editfns.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 76b4aaf81bc..e8ad83e29b8 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3217,7 +3217,6 @@ buffer stay intact. */) ptrdiff_t count = SPECPDL_INDEX (); record_unwind_protect (save_excursion_restore, save_excursion_save ()); - SET_PT_BOTH (BEGV, BEGV_BYTE); ptrdiff_t i = size_a; ptrdiff_t j = size_b; /* Walk backwards through the lists of changes. This was also -- 2.39.2