1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00

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

even if !insert_default_directory.
This commit is contained in:
Richard M. Stallman 1993-05-24 21:09:38 +00:00
parent 883047b99c
commit b320926ac6

View file

@ -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);
}