aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 5ed1ad4b7ab..8edf13a5c4d 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -258,8 +258,10 @@ Not actually set up until the first time you you use it.")
258 (setq cd-list 258 (setq cd-list
259 (nconc cd-list 259 (nconc cd-list
260 (list (substitute-in-file-name 260 (list (substitute-in-file-name
261 (file-name-as-directory 261 (if (= cd-start cd-colon)
262 (substring cd-path cd-start cd-colon)))))) 262 "."
263 (file-name-as-directory
264 (substring cd-path cd-start cd-colon)))))))
263 (setq cd-start (+ cd-colon 1))) 265 (setq cd-start (+ cd-colon 1)))
264 cd-list))) 266 cd-list)))
265 267