Commit ba3fb063 authored by Stefan Monnier's avatar Stefan Monnier

(Fbyte_code) <unwind-protect>: Use Fprogn rather than 0 and Qnil.

parent ee070873
......@@ -877,9 +877,8 @@ If the third argument is incorrect, Emacs may crash. */)
case Bunwind_protect:
/* The function record_unwind_protect can GC. */
BEFORE_POTENTIAL_GC ();
record_unwind_protect (0, POP);
record_unwind_protect (Fprogn, POP);
AFTER_POTENTIAL_GC ();
(specpdl_ptr - 1)->symbol = Qnil;
break;
case Bcondition_case:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment