summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2022-11-26 00:14:15 +0000
committerGregory Heytings <gregory@heytings.org>2022-11-26 01:33:07 +0100
commit16b8b0d1e07d394e01f76d9eed6006219b4d745b (patch)
treea67c8a9238e131908b903a96a6dbf9f7fa8fe42d /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el
parenta24652403951751b0bb7ed41033d3414a888310a (diff)
downloademacs-16b8b0d1e07d394e01f76d9eed6006219b4d745b.tar.gz
emacs-16b8b0d1e07d394e01f76d9eed6006219b4d745b.tar.bz2
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 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el')
0 files changed, 0 insertions, 0 deletions