aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2017-06-17 16:08:16 +0200
committerPhilipp Stephani2017-06-17 16:09:05 +0200
commit5575db9216e949fa1535dac33eec9b2abb48fab4 (patch)
treeb35d0661ec7c7d11323b69903f8a5918eaca294b
parent8e44350ee2a52cc3ae27dd6449bd081c41c17205 (diff)
downloademacs-5575db9216e949fa1535dac33eec9b2abb48fab4.tar.gz
emacs-5575db9216e949fa1535dac33eec9b2abb48fab4.zip
Remove unnecessary point motion
* src/editfns.c (Freplace_buffer_contents): Remove unnecessary point motion.
-rw-r--r--src/editfns.c1
1 files changed, 0 insertions, 1 deletions
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. */)
3217 ptrdiff_t count = SPECPDL_INDEX (); 3217 ptrdiff_t count = SPECPDL_INDEX ();
3218 record_unwind_protect (save_excursion_restore, save_excursion_save ()); 3218 record_unwind_protect (save_excursion_restore, save_excursion_save ());
3219 3219
3220 SET_PT_BOTH (BEGV, BEGV_BYTE);
3221 ptrdiff_t i = size_a; 3220 ptrdiff_t i = size_a;
3222 ptrdiff_t j = size_b; 3221 ptrdiff_t j = size_b;
3223 /* Walk backwards through the lists of changes. This was also 3222 /* Walk backwards through the lists of changes. This was also