Commit d70fbcca authored by Richard M. Stallman's avatar Richard M. Stallman

(decode_env_path): Use ".", not nil, for current dir.

parent b8e9a326
......@@ -1348,7 +1348,8 @@ decode_env_path (evarname, defalt)
{
p = index (path, SEPCHAR);
if (!p) p = path + strlen (path);
lpath = Fcons (p - path ? make_string (path, p - path) : Qnil,
lpath = Fcons (p - path ? make_string (path, p - path)
: build_string ("."),
lpath);
if (*p)
path = p + 1;
......
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