Commit 0a63b212 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fbury_buffer): Undo previous change.

parent 97565dd9
......@@ -1558,6 +1558,9 @@ selected window if it is displayed there.")
if (NILP (buffer))
XSETBUFFER (buffer, current_buffer);
/* If we're burying the current buffer, unshow it. */
Fswitch_to_buffer (Fother_buffer (buffer, Qnil), Qnil);
......@@ -1569,13 +1572,6 @@ selected window if it is displayed there.")
buffer = buf1;
/* Unshow the buffer in the selected window, if it is there. */
if (EQ (XWINDOW (selected_window)->buffer, buffer))
Fswitch_to_buffer (Fother_buffer (buffer, Qnil), Qnil);
/* Otherwise, unshow it in other frames. */
Freplace_buffer_in_windows (buffer);
/* Move buffer to the end of the buffer list. */
register Lisp_Object aelt, link;
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