]> git.eshelyaron.com Git - emacs.git/commit
Make sure to preserve point across locked narrowing
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Jul 2022 13:11:43 +0000 (16:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Jul 2022 13:11:43 +0000 (16:11 +0300)
commit76f49943c3baf1fa342889e08c5b6b86c2736437
treeee6f65a45e64a091e64dc38a4c6ed133844a5e58
parentd92fb1592a02f7e34fb82069fc8d61d85dac8a48
Make sure to preserve point across locked narrowing

* src/editfns.c (Fnarrow_to_region): Save the position of point
when locking the restriction, since this function can move point.
src/editfns.c