# HG changeset patch # User Michael Albinus # Date 1246782697 0 # Node ID bb1aff5ec05f59c28f6793a457f7a57225cdb945 # Parent a18909b5a393912e0fd1fa6c0de360ff235417e7 * dired-aux.el (dired-show-file-type): Handle remote files. diff -r a18909b5a393 -r bb1aff5ec05f lisp/dired-aux.el --- 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))))