]> git.eshelyaron.com Git - emacs.git/commit
(Freplace_region_contents): Fix point preservation (bug#77607)
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Apr 2025 15:54:06 +0000 (11:54 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 05:49:57 +0000 (07:49 +0200)
commit337ff0f910ccabb5739aa864d5982c592b74fff3
tree5e90cffa22e18713ddd61085b13008d8891be530
parent9ce0e07f0f06fdeba2576c05f3f038d5d9c6af22
(Freplace_region_contents): Fix point preservation (bug#77607)

* src/editfns.c (Freplace_region_contents): Save excursion around
temporary restriction (bug#77607) and remove
`record_unwind_protect_excursion` made redundant by commit 40d8650d5177.

(cherry picked from commit ae5c608eca636ad1c5c76294d81f16a16d2ec3b5)
src/editfns.c