Fix error in tramp-smb-handle-insert-directory
* lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory): Insert size information only when FULL-DIRECTORY-P is non-nil.
This commit is contained in:
parent
613db8d35c
commit
16e85456e7
1 changed files with 5 additions and 4 deletions
|
@ -1073,10 +1073,11 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
|
||||||
entries))
|
entries))
|
||||||
|
|
||||||
;; Insert size information.
|
;; Insert size information.
|
||||||
(insert
|
(when full-directory-p
|
||||||
(if avail
|
(insert
|
||||||
(format "total used in directory %s available %s\n" used avail)
|
(if avail
|
||||||
(format "total %s\n" used)))
|
(format "total used in directory %s available %s\n" used avail)
|
||||||
|
(format "total %s\n" used))))
|
||||||
|
|
||||||
;; Print entries.
|
;; Print entries.
|
||||||
(mapc
|
(mapc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue