Commit de404585 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fbyte_code) <Bsave_current_buffer_1>: Use set_buffer_if_live.

parent cb5e5f74
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment