]> git.eshelyaron.com Git - emacs.git/commitdiff
(ls-lisp-format): Under -s, print the size in blocks with %4.0f, in case
authorEli Zaretskii <eliz@gnu.org>
Thu, 4 Mar 1999 11:34:47 +0000 (11:34 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 4 Mar 1999 11:34:47 +0000 (11:34 +0000)
they have a *really* huge file.

lisp/ls-lisp.el

index cdcc2f2a73b27fd68b99cf529beb640868ebebcf..a498c07321f26d6892229af0dfdbc005302589d4 100644 (file)
@@ -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.