Mercurial > emacs
changeset 24436:e5af0407bcd6
(ls-lisp-format): Under -s, print the size in blocks with %4.0f, in case
they have a *really* huge file.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 04 Mar 1999 11:34:47 +0000 |
parents | 3b5ee0390edd |
children | 8a9d8919ebe8 |
files | lisp/ls-lisp.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ls-lisp.el Thu Mar 04 11:30:27 1999 +0000 +++ b/lisp/ls-lisp.el Thu Mar 04 11:34:47 1999 +0000 @@ -257,7 +257,7 @@ (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.