diff options
| author | Richard M. Stallman | 1993-03-31 07:05:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-31 07:05:20 +0000 |
| commit | e5176baef508e7f697d650feb27d2e96bff76337 (patch) | |
| tree | 879e44ee8fdc218cc036b4a088fe14fdfa3e5f49 /src | |
| parent | 04904c29df40d7530ab811bb06115fb712421caf (diff) | |
| download | emacs-e5176baef508e7f697d650feb27d2e96bff76337.tar.gz emacs-e5176baef508e7f697d650feb27d2e96bff76337.zip | |
(Fwrite_region): Don't fail to set visit_file.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 69ad679fbf5..f9943927ca2 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2506,7 +2506,7 @@ to the file, instead of any buffer contents, and END is ignored.") | |||
| 2506 | 2506 | ||
| 2507 | filename = Fexpand_file_name (filename, Qnil); | 2507 | filename = Fexpand_file_name (filename, Qnil); |
| 2508 | if (XTYPE (visit) == Lisp_String) | 2508 | if (XTYPE (visit) == Lisp_String) |
| 2509 | visit = Fexpand_file_name (visit, Qnil); | 2509 | visit_file = Fexpand_file_name (visit, Qnil); |
| 2510 | else | 2510 | else |
| 2511 | visit_file = filename; | 2511 | visit_file = filename; |
| 2512 | 2512 | ||