summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-04-09 09:59:26 +0300
committerEli Zaretskii <eliz@gnu.org>2011-04-09 09:59:26 +0300
commit04f33f1ed9cdfed6a3e44a55d333cd19d58424ca (patch)
treefde0e2644a278b7e49c0871e33a2c4db62d60022 /lisp/ls-lisp.el
parentd7b898799f330e0543b3f01277114a9e98a7a456 (diff)
downloademacs-04f33f1ed9cdfed6a3e44a55d333cd19d58424ca.tar.gz
Produce more accurate results from file-size-human-readable.
lisp/files.el (file-size-human-readable): Produce one digit after decimal, like "ls -lh" does. lisp/ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in the file size representation.
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 44e8bce5b8d..9314f934dc1 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -724,7 +724,7 @@ All ls time options, namely c, t and u, are handled."
ls-lisp-filesize-f-fmt
ls-lisp-filesize-d-fmt)
file-size)
- (format " %4s" (file-size-human-readable file-size))))
+ (format " %7s" (file-size-human-readable file-size))))
(provide 'ls-lisp)