aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-06 00:02:06 +0000
committerRichard M. Stallman1992-10-06 00:02:06 +0000
commitfaa64cf7ba919d24dcd287d9d2a37d99d48c7759 (patch)
tree2e93e01e4881bf771fa86c88ab33c8deaf9f8c54 /src/window.c
parent73ce90464c4fd1715b9f9d20f60798225ea27b1f (diff)
downloademacs-faa64cf7ba919d24dcd287d9d2a37d99d48c7759.tar.gz
emacs-faa64cf7ba919d24dcd287d9d2a37d99d48c7759.zip
(window_loop): Pass 2nd arg to Fother_buffer.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 2a01647e5d1..8d6e24de2c5 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1113,7 +1113,7 @@ window_loop (type, obj, mini, frames)
1113 on the frame, find a new buffer to display there. */ 1113 on the frame, find a new buffer to display there. */
1114 if (NILP (XWINDOW (w)->parent)) 1114 if (NILP (XWINDOW (w)->parent))
1115 { 1115 {
1116 Lisp_Object new_buffer = Fother_buffer (obj); 1116 Lisp_Object new_buffer = Fother_buffer (obj, Qnil);
1117 if (NILP (new_buffer)) 1117 if (NILP (new_buffer))
1118 new_buffer 1118 new_buffer
1119 = Fget_buffer_create (build_string ("*scratch*")); 1119 = Fget_buffer_create (build_string ("*scratch*"));
@@ -1151,7 +1151,7 @@ window_loop (type, obj, mini, frames)
1151 if (EQ (XWINDOW (w)->buffer, obj)) 1151 if (EQ (XWINDOW (w)->buffer, obj))
1152 { 1152 {
1153 /* Find another buffer to show in this window. */ 1153 /* Find another buffer to show in this window. */
1154 Lisp_Object another_buffer = Fother_buffer (obj); 1154 Lisp_Object another_buffer = Fother_buffer (obj, Qnil);
1155 if (NILP (another_buffer)) 1155 if (NILP (another_buffer))
1156 another_buffer 1156 another_buffer
1157 = Fget_buffer_create (build_string ("*scratch*")); 1157 = Fget_buffer_create (build_string ("*scratch*"));