changeset 1345:9596a1866aee

(window_loop): Pass 2nd arg to Fother_buffer.
author Richard M. Stallman <rms@gnu.org>
date Tue, 06 Oct 1992 00:02:06 +0000
parents 8d047d2d2592
children 5e27c3e71a78
files src/window.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon Oct 05 22:03:53 1992 +0000
+++ b/src/window.c	Tue Oct 06 00:02:06 1992 +0000
@@ -1113,7 +1113,7 @@
 		   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 @@
 	    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*"));