summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index ffb6f4e9cbf..2e31e9cd90d 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -2429,8 +2429,8 @@ true then the type of the file linked to by FILE is printed instead."
(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))))