Commit b320926a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fread_file_name): If input is empty, do return the default

even if !insert_default_directory.
parent 883047b9
......@@ -3232,6 +3232,8 @@ DIR defaults to current buffer's directory default.")
tem = Fstring_equal (val, insdef);
if (!NILP (tem) && !NILP (defalt))
return defalt;
if (XSTRING (val)->size == 0 && NILP (insdef))
return defalt;
return Fsubstitute_in_file_name (val);
}
......
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