Commit f742666a authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):

Use `tramp-compat-handle-file-attributes'.
parent 03db0efc
......@@ -323,9 +323,7 @@ PRESERVE-UID-GID is completely ignored."
"Like `directory-files-and-attributes' for Tramp files."
(lambda (x)
;; We cannot call `file-attributes' for backward compatibility reasons.
;; Its optional parameter ID-FORMAT is introduced with Emacs 22.
(cons x (tramp-smb-handle-file-attributes
(cons x (tramp-compat-handle-file-attributes
(if full x (expand-file-name x directory)) id-format)))
(directory-files directory full match nosort)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment