diff options
| author | Gregory Heytings | 2022-11-26 00:14:15 +0000 |
|---|---|---|
| committer | Gregory Heytings | 2022-11-26 01:33:07 +0100 |
| commit | 16b8b0d1e07d394e01f76d9eed6006219b4d745b (patch) | |
| tree | a67c8a9238e131908b903a96a6dbf9f7fa8fe42d /src/buffer.c | |
| parent | a24652403951751b0bb7ed41033d3414a888310a (diff) | |
| download | emacs-16b8b0d1e07d394e01f76d9eed6006219b4d745b.tar.gz emacs-16b8b0d1e07d394e01f76d9eed6006219b4d745b.zip | |
Save and restore narrowing locks in 'save-restriction'.
* src/editfns.c: (Fsave_restriction): Save and restore narrowing
locks. Suggested by Stefan Monnier.
(narrowing_locks_save, narrowing_locks_restore): Helper functions.
* lisp/subr.el (with-narrowing-1): Simplify.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions