diff options
author | Eli Zaretskii <eliz@gnu.org> | 1999-03-04 11:34:47 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 1999-03-04 11:34:47 +0000 |
commit | 6bca9ef2d536243fbc6e8f7b652be7a54840cb76 (patch) | |
tree | abf6366ad87ce97abeec8f05d1ef2248f67675c9 /lisp/ls-lisp.el | |
parent | ceeb267bf435e1856a3bc9ad00e5443d9b1eafbf (diff) | |
download | emacs-6bca9ef2d536243fbc6e8f7b652be7a54840cb76.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.el | 2 |
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. |