1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

* jka-compr.el (jka-compr-call-process): Apply

`file-accessible-directory-p' only when the default directory is
not remote.
This commit is contained in:
Michael Albinus 2012-03-02 16:29:28 +01:00
parent b8456c5c32
commit 817e5c3dfc
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-03-02 Michael Albinus <michael.albinus@gmx.de>
* jka-compr.el (jka-compr-call-process): Apply
`file-accessible-directory-p' only when the default directory is
not remote.
2012-03-01 Michael Albinus <michael.albinus@gmx.de>
* files.el (file-equal-p): Fix docstring. Avoid unnecessary

View File

@ -203,6 +203,7 @@ to keep: LEN chars starting BEG chars from the beginning."
;; call-process barfs if default-directory is inaccessible.
(let ((default-directory
(if (and default-directory
(not (file-remote-p default-directory))
(file-accessible-directory-p default-directory))
default-directory
(file-name-directory infile))))