aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1992-10-06 00:02:06 +0000
committerRichard M. Stallman <[email protected]>1992-10-06 00:02:06 +0000
commitfaa64cf7ba919d24dcd287d9d2a37d99d48c7759 (patch)
tree2e93e01e4881bf771fa86c88ab33c8deaf9f8c54
parent73ce90464c4fd1715b9f9d20f60798225ea27b1f (diff)
(window_loop): Pass 2nd arg to Fother_buffer.
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 2a01647e5d..8d6e24de2c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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*"));