]> git.eshelyaron.com Git - emacs.git/commitdiff
* jka-compr.el (jka-compr-call-process): Apply
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 2 Mar 2012 15:29:28 +0000 (16:29 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 2 Mar 2012 15:29:28 +0000 (16:29 +0100)
`file-accessible-directory-p' only when the default directory is
not remote.

lisp/ChangeLog
lisp/jka-compr.el

index 08f6ac4d075260f8b4ff498a2bab569978a360ee..7e229f8643dd5a5af83a85322725e3019c912f27 100644 (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
index 8a8d7cdbb528df25ad5ad933368bbc1a7c8ff2b4..7e50ae57b19151ed8131e4bd90d16d0edc6259a2 100644 (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))))