]> git.eshelyaron.com Git - emacs.git/commit
Fix lifetime error in previous patch
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2019 19:31:51 +0000 (12:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2019 19:32:16 +0000 (12:32 -0700)
commit5d4dd552c29279b8a9e6ed269a2dc3afc36f73b9
tree95edeff83e756072c35f974f6271ba8c191d8436
parentd02c2f7f6507105605ed0596a7e26acd5b3b8122
Fix lifetime error in previous patch

Problem reported by Pip Cet in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00520.html
* src/alloc.c (inhibit_garbage_collection): Use new function.
(allow_garbage_collection): Accept intmax_t, not pointer.
* src/eval.c (default_toplevel_binding, do_one_unbind)
(backtrace_eval_unrewind, Fbacktrace__locals, mark_specpdl):
Support SPECPDL_UNWIND_INTMAX.
(record_unwind_protect_excursion): New function.
* src/lisp.h (enum specbind_tag): New constant SPECPDL_UNWIND_INTMAX.
(union specbinding): New member unwind_intmax.
src/alloc.c
src/eval.c
src/lisp.h