]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/files.el (cd): Fix last change. (Bug#33791)
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Dec 2018 09:47:40 +0000 (11:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Dec 2018 09:47:40 +0000 (11:47 +0200)
lisp/files.el

index 0b82c943347502bd72d45e083c28bcfa61c7bb46..7794f398cf9877e8e935fbe7fd6a83604deaa70e 100644 (file)
@@ -805,7 +805,6 @@ The path separator is colon in GNU and GNU-like systems."
     ;; locate-file doesn't support remote file names, so detect them
     ;; and support them here by hand.
     (and (file-remote-p (expand-file-name dir))
-         (file-name-absolute-p (expand-file-name dir))
          (file-accessible-directory-p (expand-file-name dir))
          (expand-file-name dir))
     (locate-file dir cd-path nil