From: Richard M. Stallman Date: Tue, 29 Aug 1995 15:32:00 +0000 (+0000) Subject: (decode_env_path): Use ".", not nil, for current dir. X-Git-Tag: emacs-19.34~2889 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d70fbccad6f3f087f703c5c6b7c937cd6de1008f;p=emacs.git (decode_env_path): Use ".", not nil, for current dir. --- 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;