summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-11-13 16:25:48 +0900
committerYuuki Harano <masm+github@masm11.me>2021-11-13 16:25:48 +0900
commitc31d3dacf7f153589b6e7a5f5204937c64e7fd24 (patch)
treeb898c1d298e0d149faef0e9a6d641ce212df4e7e /lisp/ls-lisp.el
parentc3377ae3b7fdb8714e03586589d1b2804cf08e17 (diff)
parentb4c6ab8cb67be4d5b3e0041981968c6cce4afe89 (diff)
downloademacs-c31d3dacf7f153589b6e7a5f5204937c64e7fd24.tar.gz
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'lisp/ls-lisp.el')
-rw-r--r--lisp/ls-lisp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 82153ff0adb..eea8089daa7 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -343,7 +343,7 @@ are also supported; unsupported long options are silently ignored."
(goto-char (point-min))
;; First find the line to put it on.
(when (re-search-forward "^total" nil t)
- (let ((available (get-free-disk-space ".")))
+ (let ((available (get-free-disk-space orig-file)))
(when available
;; Replace "total" with "total used", to avoid confusion.
(replace-match "total used in directory")