diff options
| author | Richard M. Stallman | 1993-05-24 21:09:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-24 21:09:38 +0000 |
| commit | b320926ac656d437c4bb348b2fd50b922ed60bc5 (patch) | |
| tree | 8c94a33049554f8760d75b74aad5af5be3b7491f /src/fileio.c | |
| parent | 883047b99c85012855f53abeb2733f742ff10cf8 (diff) | |
| download | emacs-b320926ac656d437c4bb348b2fd50b922ed60bc5.tar.gz emacs-b320926ac656d437c4bb348b2fd50b922ed60bc5.zip | |
(Fread_file_name): If input is empty, do return the default
even if !insert_default_directory.
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index da591b525b1..7d02a3b525d 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3232,6 +3232,8 @@ DIR defaults to current buffer's directory default.") | |||
| 3232 | tem = Fstring_equal (val, insdef); | 3232 | tem = Fstring_equal (val, insdef); |
| 3233 | if (!NILP (tem) && !NILP (defalt)) | 3233 | if (!NILP (tem) && !NILP (defalt)) |
| 3234 | return defalt; | 3234 | return defalt; |
| 3235 | if (XSTRING (val)->size == 0 && NILP (insdef)) | ||
| 3236 | return defalt; | ||
| 3235 | return Fsubstitute_in_file_name (val); | 3237 | return Fsubstitute_in_file_name (val); |
| 3236 | } | 3238 | } |
| 3237 | 3239 | ||