From e4a225a97d066b069417d4e0f0e382ca63eb51e0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 4 Mar 1999 11:34:47 +0000 Subject: [PATCH] (ls-lisp-format): Under -s, print the size in blocks with %4.0f, in case they have a *really* huge file. --- lisp/ls-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index cdcc2f2a73b..a498c07321f 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -257,7 +257,7 @@ are: A a c i r S s t u" (format "%6d " (nth 10 file-attr))) ;; nil is treated like "" in concat (if (memq ?s switches) ; size in K - (format "%4d " (fceiling (/ file-size 1024.0)))) + (format "%4.0f " (fceiling (/ file-size 1024.0)))) (nth 8 file-attr) ; permission bits ;; numeric uid/gid are more confusing than helpful ;; Emacs should be able to make strings of them. -- 2.39.2