changeset 1347:ac3a893b9bb9

(Fcall_interactively): Pass 2nd arg to Fother_buffer.
author Richard M. Stallman <rms@gnu.org>
date Tue, 06 Oct 1992 00:03:11 +0000
parents 5e27c3e71a78
children f6ab9d1e1709
files src/callint.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/callint.c	Tue Oct 06 00:02:52 1992 +0000
+++ b/src/callint.c	Tue Oct 06 00:03:11 1992 +0000
@@ -338,13 +338,14 @@
 	case 'b':   		/* Name of existing buffer */
 	  args[i] = Fcurrent_buffer ();
 	  if (EQ (selected_window, minibuf_window))
-	    args[i] = Fother_buffer (args[i]);
+	    args[i] = Fother_buffer (args[i], Qnil);
 	  args[i] = Fread_buffer (build_string (prompt), args[i], Qt);
 	  break;
 
 	case 'B':		/* Name of buffer, possibly nonexistent */
 	  args[i] = Fread_buffer (build_string (prompt),
-				  Fother_buffer (Fcurrent_buffer ()), Qnil);
+				  Fother_buffer (Fcurrent_buffer (), Qnil),
+				  Qnil);
 	  break;
 
         case 'c':		/* Character */