]> git.eshelyaron.com Git - emacs.git/commitdiff
(parse-colon-path): Really make nil, not ".", for empty path element.
authorRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 05:34:53 +0000 (05:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 05:34:53 +0000 (05:34 +0000)
lisp/files.el

index 8edf13a5c4d6a69926e4ee8d6f06c594bcd58829..70e42d81bec762f3e9a10b2b3daeae5b28d83a07 100644 (file)
@@ -257,9 +257,9 @@ Not actually set up until the first time you you use it.")
         (while (setq cd-colon (string-match ":" cd-path cd-start))
           (setq cd-list
                 (nconc cd-list
-                       (list (substitute-in-file-name
-                              (if (= cd-start cd-colon)
-                                  "."
+                       (list (if (= cd-start cd-colon)
+                                  nil
+                               (substitute-in-file-name
                                 (file-name-as-directory
                                  (substring cd-path cd-start cd-colon)))))))
           (setq cd-start (+ cd-colon 1)))