changeset 103724:bb1aff5ec05f

* dired-aux.el (dired-show-file-type): Handle remote files.
author Michael Albinus <michael.albinus@gmx.de>
date Sun, 05 Jul 2009 08:31:37 +0000
parents a18909b5a393
children 53f24cf86ba5
files lisp/dired-aux.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Sun Jul 05 05:14:27 2009 +0000
+++ b/lisp/dired-aux.el	Sun Jul 05 08:31:37 2009 +0000
@@ -2429,8 +2429,8 @@
   (interactive (list (dired-get-filename t) current-prefix-arg))
   (with-temp-buffer
     (if deref-symlinks
-	(call-process "file" nil t t "-L" "--" file)
-      (call-process "file" nil t t "--" file))
+	(process-file "file" nil t t "-L" "--" file)
+      (process-file "file" nil t t "--" file))
     (when (bolp)
       (backward-delete-char 1))
     (message "%s" (buffer-string))))