]> git.eshelyaron.com Git - emacs.git/commit
Fix blunder in labeled_narrow_to_region
authorGregory Heytings <gregory@heytings.org>
Thu, 11 Jan 2024 23:38:22 +0000 (23:38 +0000)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Jan 2024 16:29:30 +0000 (17:29 +0100)
commit38c06d03a69a67c4b1fcab7feb50f597e49be58d
treeb176b56a030720cb9408461e390000d9966f3c78
parent91204c802acccbd28eaa4f672224b26b8c192116
Fix blunder in labeled_narrow_to_region

* src/editfns.c (labeled_narrow_to_region): Record point before,
instead of after, calling narrow-to-region; otherwise point may
already have been changed.  Fixes bug#66764.

(cherry picked from commit 5bb5590dec95e813ed120b3f09734451b4ebb18f)
src/editfns.c