Commit 3abebeb8 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

* lisp/files.el (cd): Fix last change. (Bug#33791)

parent 7a60a4f4
Pipeline #394 failed with stage
in 13 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment