summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index f500fec5d99..9aa7cfef23b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -255,7 +255,7 @@ Not actually set up until the first time you you use it.")
(defun cd-absolute (dir)
"Change current directory to given absolute file name DIR."
- (setq dir (expand-file-name dir))
+ (setq dir (abbreviate-file-name (expand-file-name dir)))
(if (not (eq system-type 'vax-vms))
(setq dir (file-name-as-directory dir)))
(if (not (file-directory-p dir))