diff options
| author | Richard M. Stallman <rms@gnu.org> | 1993-07-22 05:34:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1993-07-22 05:34:53 +0000 |
| commit | c52e4104a10c45487fa45520c8bcccf05a4b4078 (patch) | |
| tree | 17a0d27f2e0465e927045ca37c920bc55db77701 /lisp/files.el | |
| parent | 0a933d4b4f74489062056245cf18872dfd8dc540 (diff) | |
| download | emacs-c52e4104a10c45487fa45520c8bcccf05a4b4078.tar.gz | |
(parse-colon-path): Really make nil, not ".", for empty path element.
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el index 8edf13a5c4d..70e42d81bec 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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))) |
