[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: append-to-file can crash Emacs
From: |
Gerd Moellmann |
Subject: |
Re: append-to-file can crash Emacs |
Date: |
24 Apr 2001 15:57:58 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 |
I could debug this further---it's a GCPRO error. This patch should
fix it. (For various reasons, this is not a problem in 21).
*** bytecode.c 2001/04/24 13:43:44 1.1
--- bytecode.c 2001/04/24 13:47:28
***************
*** 612,623 ****
break;
case Btemp_output_buffer_show:
! v1 = POP;
! temp_output_buffer_show (TOP);
! TOP = v1;
! /* pop binding of standard-output */
! unbind_to (specpdl_ptr - specpdl - 1, Qnil);
! break;
case Bnth:
v1 = POP;
--- 612,630 ----
break;
case Btemp_output_buffer_show:
! {
! Lisp_Object tem;
! struct gcpro gcpro1;
!
! tem = POP;
! GCPRO1 (tem);
! temp_output_buffer_show (TOP);
! TOP = tem;
! UNGCPRO;
! /* pop binding of standard-output */
! unbind_to (specpdl_ptr - specpdl - 1, Qnil);
! break;
! }
case Bnth:
v1 = POP;