changeset 20697:6c8ba5a6147b

(Fbyte_code) <Bsave_current_buffer_1>: Use set_buffer_if_live.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Jan 1998 21:41:27 +0000
parents cdbe4824e7f1
children ec08780e4c42
files src/bytecode.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bytecode.c	Wed Jan 21 21:40:51 1998 +0000
+++ b/src/bytecode.c	Wed Jan 21 21:41:27 1998 +0000
@@ -578,7 +578,7 @@
 
 	case Bsave_current_buffer:
 	case Bsave_current_buffer_1:
-	  record_unwind_protect (Fset_buffer, Fcurrent_buffer ());
+	  record_unwind_protect (set_buffer_if_live, Fcurrent_buffer ());
 	  break;
 
 	case Bsave_window_excursion: