From d70fbccad6f3f087f703c5c6b7c937cd6de1008f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 29 Aug 1995 15:32:00 +0000 Subject: [PATCH] (decode_env_path): Use ".", not nil, for current dir. --- src/emacs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { 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; -- 2.39.2