Commit 9262fcb6 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fcall_interactively): Pass 2nd arg to Fother_buffer.

parent c3c73481
......@@ -338,13 +338,14 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment