]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fbyte_code) <Bsave_current_buffer_1>: Use set_buffer_if_live.
authorRichard M. Stallman <rms@gnu.org>
Wed, 21 Jan 1998 21:41:27 +0000 (21:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 21 Jan 1998 21:41:27 +0000 (21:41 +0000)
src/bytecode.c

index b0e2ca7a8b2960d7097227b86c4818661959b0ab..193630f025cc81328d29228ff5077b8cf4330f85 100644 (file)
@@ -578,7 +578,7 @@ If the third argument is incorrect, Emacs may crash.")
 
        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: