]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove unnecessary point motion
authorPhilipp Stephani <phst@google.com>
Sat, 17 Jun 2017 14:08:16 +0000 (16:08 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 17 Jun 2017 14:09:05 +0000 (16:09 +0200)
* src/editfns.c (Freplace_buffer_contents): Remove unnecessary point
motion.

src/editfns.c

index 76b4aaf81bcb4212b0027587b3b4a8785db5e9e7..e8ad83e29b8513a41c0892c48e303d5292b7d77e 100644 (file)
@@ -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