diff options
| author | Richard M. Stallman | 1992-10-06 00:03:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-10-06 00:03:11 +0000 |
| commit | 9262fcb66ab058a2f898f6ad3c0e11f32fa8fff7 (patch) | |
| tree | 26f06d1fdd7542cc9e29db6344b024f331307ef4 /src | |
| parent | c3c734814d617c97c39345f252bc55cdb5a03f59 (diff) | |
| download | emacs-9262fcb66ab058a2f898f6ad3c0e11f32fa8fff7.tar.gz emacs-9262fcb66ab058a2f898f6ad3c0e11f32fa8fff7.zip | |
(Fcall_interactively): Pass 2nd arg to Fother_buffer.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c index a174f829dc7..99a364f6127 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -338,13 +338,14 @@ Otherwise, this is done only if an arg is read using the minibuffer.") | |||
| 338 | case 'b': /* Name of existing buffer */ | 338 | case 'b': /* Name of existing buffer */ |
| 339 | args[i] = Fcurrent_buffer (); | 339 | args[i] = Fcurrent_buffer (); |
| 340 | if (EQ (selected_window, minibuf_window)) | 340 | if (EQ (selected_window, minibuf_window)) |
| 341 | args[i] = Fother_buffer (args[i]); | 341 | args[i] = Fother_buffer (args[i], Qnil); |
| 342 | args[i] = Fread_buffer (build_string (prompt), args[i], Qt); | 342 | args[i] = Fread_buffer (build_string (prompt), args[i], Qt); |
| 343 | break; | 343 | break; |
| 344 | 344 | ||
| 345 | case 'B': /* Name of buffer, possibly nonexistent */ | 345 | case 'B': /* Name of buffer, possibly nonexistent */ |
| 346 | args[i] = Fread_buffer (build_string (prompt), | 346 | args[i] = Fread_buffer (build_string (prompt), |
| 347 | Fother_buffer (Fcurrent_buffer ()), Qnil); | 347 | Fother_buffer (Fcurrent_buffer (), Qnil), |
| 348 | Qnil); | ||
| 348 | break; | 349 | break; |
| 349 | 350 | ||
| 350 | case 'c': /* Character */ | 351 | case 'c': /* Character */ |