1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

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

This commit is contained in:
Eli Zaretskii 2018-12-29 11:47:40 +02:00
parent 7a60a4f449
commit 3abebeb8c3

View 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