summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-06 00:03:29 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-06 00:03:29 +0000
commit0ca1a747e086d4c33f57bfb635b013d2abe0c3a8 (patch)
treeeebd918e70d1c23cd101abaa0db72ff2cb795990 /src/buffer.c
parent738977c263f4e27ad274aa399ed224d4ada06b97 (diff)
downloademacs-0ca1a747e086d4c33f57bfb635b013d2abe0c3a8.tar.gz
(Fkill_buffer): Pass 2nd arg to Fother_buffer.
(Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer):
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 7b1bda47fa5..594c0a7b627 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -693,7 +693,7 @@ with `delete-process'.")
and give up if so. */
if (b == current_buffer)
{
- tem = Fother_buffer (buf);
+ tem = Fother_buffer (buf, Qnil);
Fset_buffer (tem);
if (b == current_buffer)
return Qnil;
@@ -797,7 +797,7 @@ the window-buffer correspondences.")
error ("Cannot switch buffers in a dedicated window");
if (NILP (bufname))
- buf = Fother_buffer (Fcurrent_buffer ());
+ buf = Fother_buffer (Fcurrent_buffer (), Qnil);
else
buf = Fget_buffer_create (bufname);
Fset_buffer (buf);
@@ -822,7 +822,7 @@ window even if BUFFER is already visible in the selected window.")
{
register Lisp_Object buf;
if (NILP (bufname))
- buf = Fother_buffer (Fcurrent_buffer ());
+ buf = Fother_buffer (Fcurrent_buffer (), Qnil);
else
buf = Fget_buffer_create (bufname);
Fset_buffer (buf);
@@ -945,7 +945,7 @@ If BUFFER is omitted, the current buffer is buried.")
/* Remove it from the screen. */
if (EQ (buf, XWINDOW (selected_window)->buffer))
- Fswitch_to_buffer (Fother_buffer (buf), Qnil);
+ Fswitch_to_buffer (Fother_buffer (buf, Qnil), Qnil);
/* Move it to the end of the buffer list. */
{