]> git.eshelyaron.com Git - emacs.git/commit
Fix 'save-restriction' for narrowing locks
authorGregory Heytings <gregory@heytings.org>
Thu, 9 Feb 2023 01:09:10 +0000 (01:09 +0000)
committerGregory Heytings <gregory@heytings.org>
Thu, 9 Feb 2023 01:44:32 +0000 (02:44 +0100)
commita4aa32bdfff7aaf54efbacbb04b7f2b52fef92a7
tree2a36555153fd494bc059132a8d78a09e6f701668
parent0ec0a610ed226419269f519021cbe8fb2dde2ed5
Fix 'save-restriction' for narrowing locks

* src/editfns.c (narrowing_locks_save):
(narrowing_locks_restore): Make them non-static.

* src/lisp.h: Make them externally visible.

* src/bytecode.c (exec_byte_code): Save and restore narrowing
locks.

* lisp/emacs-lisp/bytecomp.el (byte-compile-save-restriction):
Increment unbinding count.

* src/comp.c (helper_save_restriction): Save and restore narrowing
locks.
lisp/emacs-lisp/bytecomp.el
src/bytecode.c
src/comp.c
src/editfns.c
src/lisp.h