Subject: RE: [External] : bug#50630: 28.0.50; list-directory shows free space for current directory, not the specified one

From: Drew Adams <[email-masked]>
Date: Fri, 17 Sep 2021 17:38:42 +0000

> The patch makes sense to me, so I installed it, and I'm closing this
> bug.

I believe the same change is needed in ls-lisp.el, for function `ls-lisp--insert-directory'.

  (let ((available (get-free-disk-space ".")))

should be:

  (let ((available (get-free-disk-space file)))

(But you might want to check whether FILE is what's needed, and not, say, ORIG-FILE.)