From: Philipp Stephani Date: Sat, 17 Jun 2017 14:08:16 +0000 (+0200) Subject: Remove unnecessary point motion X-Git-Tag: emacs-26.0.90~521^2~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5575db9216e949fa1535dac33eec9b2abb48fab4;p=emacs.git Remove unnecessary point motion * src/editfns.c (Freplace_buffer_contents): Remove unnecessary point motion. --- 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