summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2003-05-01 00:22:31 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2003-05-01 00:22:31 +0000
commitba3fb0639413fdbaa3a4a13f70e05581c1d858ad (patch)
tree3943d99dd54573ba5754b7fd6eb76519edbefe33 /src/bytecode.c
parentee0708734b918cdfa92889a0cf96f4a65ce4b9a7 (diff)
downloademacs-ba3fb0639413fdbaa3a4a13f70e05581c1d858ad.tar.gz
(Fbyte_code) <unwind-protect>: Use Fprogn rather than 0 and Qnil.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 1ee5ae39557..98acc336db7 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -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: