]> git.eshelyaron.com Git - emacs.git/commitdiff
(cd-absolute): Use abbreviate-file-name on expansion of DIR.
authorRoland McGrath <roland@gnu.org>
Wed, 7 Jul 1993 06:26:31 +0000 (06:26 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 7 Jul 1993 06:26:31 +0000 (06:26 +0000)
lisp/files.el

index f500fec5d99f16ec86955305a7c9257fe64105cd..9aa7cfef23b2b0bdee034b1559719706b173250a 100644 (file)
@@ -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))