diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2005-11-23 01:35:21 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2005-11-23 01:35:21 +0000 |
commit | 103fc5e102ae142b1fc20b53cbefd3e1cf99fa2e (patch) | |
tree | ed641ec0c8371957a5581b18b0f7a522cddcca51 /lisp/ls-lisp.el | |
parent | e353d29ab946fedd7586ac5318b35f6c760d6ec6 (diff) | |
parent | 8df8bc46d5cb7e9b98fffd83bd812b9183459824 (diff) | |
download | emacs-103fc5e102ae142b1fc20b53cbefd3e1cf99fa2e.tar.gz |
Merged from miles@gnu.org--gnu-2005 (patch 656-658)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-656
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-657
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-658
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-444
Diffstat (limited to 'lisp/ls-lisp.el')
-rw-r--r-- | lisp/ls-lisp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index feadbb5e2be..5f5a53b0df0 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -588,11 +588,11 @@ All ls time options, namely c, t and u, are handled." (defun ls-lisp-format-file-size (file-size human-readable) (if (or (not human-readable) (< file-size 1024)) - (format (if (floatp file-size) " %8.0f" " %8d") file-size) + (format (if (floatp file-size) " %9.0f" " %9d") file-size) (do ((file-size (/ file-size 1024.0) (/ file-size 1024.0)) ;; kilo, mega, giga, tera, peta, exa (post-fixes (list "k" "M" "G" "T" "P" "E") (cdr post-fixes))) - ((< file-size 1024) (format " %7.0f%s" file-size (car post-fixes)))))) + ((< file-size 1024) (format " %8.0f%s" file-size (car post-fixes)))))) (provide 'ls-lisp) |