]> git.eshelyaron.com Git - emacs.git/commit
Save and restore the absence of narrowing locks
authorGregory Heytings <gregory@heytings.org>
Fri, 10 Feb 2023 20:55:47 +0000 (20:55 +0000)
committerGregory Heytings <gregory@heytings.org>
Fri, 10 Feb 2023 21:07:43 +0000 (22:07 +0100)
commit4297039bd1325166eac82d950951716ec122d465
tree4c78d4d9a21ecacb629bdc22b4c658a575cac7c0
parent2956e54b1dda1647a9399211c7d09b208b85dcfa
Save and restore the absence of narrowing locks

* src/editfns.c (narrowing_locks_save): Return the buffer with a
empty locks list when the current buffer has no narrowing locks.
(narrowing_locks_restore): Remove the narrowing locks if the
buffer had no narrowing locks.
src/editfns.c