aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-06 00:03:29 +0000
committerRichard M. Stallman1992-10-06 00:03:29 +0000
commit172a9c1f72c78b7b4d1b4fc5e9afa0fc79d1f413 (patch)
tree40dc8698fee776c3365d1a646cb67bf69d1449ae /src/buffer.c
parent9262fcb66ab058a2f898f6ad3c0e11f32fa8fff7 (diff)
downloademacs-172a9c1f72c78b7b4d1b4fc5e9afa0fc79d1f413.tar.gz
emacs-172a9c1f72c78b7b4d1b4fc5e9afa0fc79d1f413.zip
(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'.")
693 and give up if so. */ 693 and give up if so. */
694 if (b == current_buffer) 694 if (b == current_buffer)
695 { 695 {
696 tem = Fother_buffer (buf); 696 tem = Fother_buffer (buf, Qnil);
697 Fset_buffer (tem); 697 Fset_buffer (tem);
698 if (b == current_buffer) 698 if (b == current_buffer)
699 return Qnil; 699 return Qnil;
@@ -797,7 +797,7 @@ the window-buffer correspondences.")
797 error ("Cannot switch buffers in a dedicated window"); 797 error ("Cannot switch buffers in a dedicated window");
798 798
799 if (NILP (bufname)) 799 if (NILP (bufname))
800 buf = Fother_buffer (Fcurrent_buffer ()); 800 buf = Fother_buffer (Fcurrent_buffer (), Qnil);
801 else 801 else
802 buf = Fget_buffer_create (bufname); 802 buf = Fget_buffer_create (bufname);
803 Fset_buffer (buf); 803 Fset_buffer (buf);
@@ -822,7 +822,7 @@ window even if BUFFER is already visible in the selected window.")
822{ 822{
823 register Lisp_Object buf; 823 register Lisp_Object buf;
824 if (NILP (bufname)) 824 if (NILP (bufname))
825 buf = Fother_buffer (Fcurrent_buffer ()); 825 buf = Fother_buffer (Fcurrent_buffer (), Qnil);
826 else 826 else
827 buf = Fget_buffer_create (bufname); 827 buf = Fget_buffer_create (bufname);
828 Fset_buffer (buf); 828 Fset_buffer (buf);
@@ -945,7 +945,7 @@ If BUFFER is omitted, the current buffer is buried.")
945 945
946 /* Remove it from the screen. */ 946 /* Remove it from the screen. */
947 if (EQ (buf, XWINDOW (selected_window)->buffer)) 947 if (EQ (buf, XWINDOW (selected_window)->buffer))
948 Fswitch_to_buffer (Fother_buffer (buf), Qnil); 948 Fswitch_to_buffer (Fother_buffer (buf, Qnil), Qnil);
949 949
950 /* Move it to the end of the buffer list. */ 950 /* Move it to the end of the buffer list. */
951 { 951 {