changeset 12971:ec9ae189a275

(decode_env_path): Use ".", not nil, for current dir.
author Richard M. Stallman <rms@gnu.org>
date Tue, 29 Aug 1995 15:32:00 +0000
parents b5262e218fa8
children 62682d1146a0
files src/emacs.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Aug 29 15:31:46 1995 +0000
+++ b/src/emacs.c	Tue Aug 29 15:32:00 1995 +0000
@@ -1348,7 +1348,8 @@
     {
       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;