diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index ef84e0aac04..40ecc3d15bd 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1348,7 +1348,8 @@ decode_env_path (evarname, defalt) | |||
| 1348 | { | 1348 | { |
| 1349 | p = index (path, SEPCHAR); | 1349 | p = index (path, SEPCHAR); |
| 1350 | if (!p) p = path + strlen (path); | 1350 | if (!p) p = path + strlen (path); |
| 1351 | lpath = Fcons (p - path ? make_string (path, p - path) : Qnil, | 1351 | lpath = Fcons (p - path ? make_string (path, p - path) |
| 1352 | : build_string ("."), | ||
| 1352 | lpath); | 1353 | lpath); |
| 1353 | if (*p) | 1354 | if (*p) |
| 1354 | path = p + 1; | 1355 | path = p + 1; |