diff options
| author | Michael Albinus | 2012-03-02 16:29:28 +0100 |
|---|---|---|
| committer | Michael Albinus | 2012-03-02 16:29:28 +0100 |
| commit | 817e5c3dfc0c2b47ff60ff9f099e881a8e9efc25 (patch) | |
| tree | 17fd75c331a27d1579bf65213c6bceceaa858aff | |
| parent | b8456c5c325733db94a5b6fa935b60a2e7de3581 (diff) | |
| download | emacs-817e5c3dfc0c2b47ff60ff9f099e881a8e9efc25.tar.gz emacs-817e5c3dfc0c2b47ff60ff9f099e881a8e9efc25.zip | |
* jka-compr.el (jka-compr-call-process): Apply
`file-accessible-directory-p' only when the default directory is
not remote.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/jka-compr.el | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 08f6ac4d075..7e229f8643d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-03-02 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * jka-compr.el (jka-compr-call-process): Apply | ||
| 4 | `file-accessible-directory-p' only when the default directory is | ||
| 5 | not remote. | ||
| 6 | |||
| 1 | 2012-03-01 Michael Albinus <michael.albinus@gmx.de> | 7 | 2012-03-01 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * files.el (file-equal-p): Fix docstring. Avoid unnecessary | 9 | * files.el (file-equal-p): Fix docstring. Avoid unnecessary |
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index 8a8d7cdbb52..7e50ae57b19 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el | |||
| @@ -203,6 +203,7 @@ to keep: LEN chars starting BEG chars from the beginning." | |||
| 203 | ;; call-process barfs if default-directory is inaccessible. | 203 | ;; call-process barfs if default-directory is inaccessible. |
| 204 | (let ((default-directory | 204 | (let ((default-directory |
| 205 | (if (and default-directory | 205 | (if (and default-directory |
| 206 | (not (file-remote-p default-directory)) | ||
| 206 | (file-accessible-directory-p default-directory)) | 207 | (file-accessible-directory-p default-directory)) |
| 207 | default-directory | 208 | default-directory |
| 208 | (file-name-directory infile)))) | 209 | (file-name-directory infile)))) |