1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00

(window_loop): Pass 2nd arg to Fother_buffer.

This commit is contained in:
Richard M. Stallman 1992-10-06 00:02:06 +00:00
parent 73ce90464c
commit faa64cf7ba

View file

@ -1113,7 +1113,7 @@ window_loop (type, obj, mini, frames)
on the frame, find a new buffer to display there. */
if (NILP (XWINDOW (w)->parent))
{
Lisp_Object new_buffer = Fother_buffer (obj);
Lisp_Object new_buffer = Fother_buffer (obj, Qnil);
if (NILP (new_buffer))
new_buffer
= Fget_buffer_create (build_string ("*scratch*"));
@ -1151,7 +1151,7 @@ window_loop (type, obj, mini, frames)
if (EQ (XWINDOW (w)->buffer, obj))
{
/* Find another buffer to show in this window. */
Lisp_Object another_buffer = Fother_buffer (obj);
Lisp_Object another_buffer = Fother_buffer (obj, Qnil);
if (NILP (another_buffer))
another_buffer
= Fget_buffer_create (build_string ("*scratch*"));