summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-12-29 11:47:40 +0200
committerEli Zaretskii <eliz@gnu.org>2018-12-29 11:47:40 +0200
commit3abebeb8c3047092763f2d4a61fe7dfc659cd1bf (patch)
tree22309e7151705a474203cfdd5c00d69cb1ccbe4c
parent7a60a4f449da800e624cac67d590cd128820aae2 (diff)
downloademacs-3abebeb8c3047092763f2d4a61fe7dfc659cd1bf.tar.gz
* lisp/files.el (cd): Fix last change. (Bug#33791)
-rw-r--r--lisp/files.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 0b82c943347..7794f398cf9 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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