summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1999-03-04 11:34:47 +0000
committerEli Zaretskii <eliz@gnu.org>1999-03-04 11:34:47 +0000
commite4a225a97d066b069417d4e0f0e382ca63eb51e0 (patch)
tree18e7292316a4ddd00ec87fb9790e28a0b9aa2716 /lisp/ls-lisp.el
parentdf6efcb120b60fcda1ca1faaead4d80b37d0cb7f (diff)
downloademacs-e4a225a97d066b069417d4e0f0e382ca63eb51e0.tar.gz
(ls-lisp-format): Under -s, print the size in blocks with %4.0f, in case
they have a *really* huge file.
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 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.