diff options
| author | Richard M. Stallman | 1995-03-24 05:20:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-24 05:20:27 +0000 |
| commit | 2a1c968a69f5fb56e3b52215cdfa5becdbb4dda4 (patch) | |
| tree | fd1b288e4fa8502fb0765a26d693130930eea74a | |
| parent | bf40a97ffabe6da22a0f05147b9001a3f2a17112 (diff) | |
| download | emacs-2a1c968a69f5fb56e3b52215cdfa5becdbb4dda4.tar.gz emacs-2a1c968a69f5fb56e3b52215cdfa5becdbb4dda4.zip | |
(temp_output_buffer_setup): (Re)set the default
directory of the temp buffer to that of the current buffer.
| -rw-r--r-- | src/print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index 3087c95c1ed..d5d1e358b06 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -387,6 +387,7 @@ temp_output_buffer_setup (bufname) | |||
| 387 | 387 | ||
| 388 | Fset_buffer (Fget_buffer_create (build_string (bufname))); | 388 | Fset_buffer (Fget_buffer_create (build_string (bufname))); |
| 389 | 389 | ||
| 390 | current_buffer->directory = old->directory; | ||
| 390 | current_buffer->read_only = Qnil; | 391 | current_buffer->read_only = Qnil; |
| 391 | Ferase_buffer (); | 392 | Ferase_buffer (); |
| 392 | 393 | ||