Mercurial > emacs
diff src/buffer.c @ 1348:f6ab9d1e1709
(Fkill_buffer): Pass 2nd arg to Fother_buffer.
(Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer):
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Tue, 06 Oct 1992 00:03:29 +0000 |
| parents | 2660a7053836 |
| children | c090f7dcfd27 |
line wrap: on
line diff
--- a/src/buffer.c Tue Oct 06 00:03:11 1992 +0000 +++ b/src/buffer.c Tue Oct 06 00:03:29 1992 +0000 @@ -693,7 +693,7 @@ 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 @@ 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 @@ { 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 @@ /* 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. */ {
