From 04f33f1ed9cdfed6a3e44a55d333cd19d58424ca Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 9 Apr 2011 09:59:26 +0300 Subject: 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. --- lisp/ls-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/ls-lisp.el') 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) -- cgit v1.2.1