Commit 0a357e98 authored by Martin Rudalics's avatar Martin Rudalics

In temp_output_buffer_show make sure window returned by display_buffer is live (Bug#15213).

* window.c (temp_output_buffer_show): Make sure window returned
by display_buffer is live (Bug#15213).
parent 415f808e
2013-08-31 Martin Rudalics <rudalics@gmx.at>
* window.c (temp_output_buffer_show): Make sure window returned
by display_buffer is live (Bug#15213).
2013-08-30 Dmitry Antipov <dmantipov@yandex.ru>
Minor cleanup to avoid forward declarations.
......
......@@ -3341,10 +3341,8 @@ temp_output_buffer_show (register Lisp_Object buf)
if (!NILP (Vtemp_buffer_show_function))
call1 (Vtemp_buffer_show_function, buf);
else
else if (WINDOW_LIVE_P (window = display_buffer (buf, Qnil, Qnil)))
{
window = display_buffer (buf, Qnil, Qnil);
if (!EQ (XWINDOW (window)->frame, selected_frame))
Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window)));
Vminibuf_scroll_window = window;
......
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