changeset 20696:cdbe4824e7f1

(Fsave_current_buffer): Use set_buffer_if_live.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Jan 1998 21:40:51 +0000
parents c67b70bc40d9
children 6c8ba5a6147b
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Wed Jan 21 21:39:02 1998 +0000
+++ b/src/editfns.c	Wed Jan 21 21:40:51 1998 +0000
@@ -402,7 +402,7 @@
   register Lisp_Object val;
   int count = specpdl_ptr - specpdl;
 
-  record_unwind_protect (Fset_buffer, Fcurrent_buffer ());
+  record_unwind_protect (set_buffer_if_live, Fcurrent_buffer ());
 
   val = Fprogn (args);
   return unbind_to (count, val);