# HG changeset patch # User John Wiegley # Date 1068974629 0 # Node ID 52b1635cd53f68ca4e4cba62d9df6d9010276b33 # Parent 3951aa044134fd3d2648601d38ac468ac15c505c (eshell-ls-file): Instead of making the size field in a long-listing always 8 characters, use `size-width', which has already been computed. diff -r 3951aa044134 -r 52b1635cd53f lisp/eshell/em-ls.el --- a/lisp/eshell/em-ls.el Sun Nov 16 09:23:29 2003 +0000 +++ b/lisp/eshell/em-ls.el Sun Nov 16 09:23:49 2003 +0000 @@ -480,8 +480,8 @@ "")) (let* ((str (eshell-ls-printable-size (nth 7 attrs))) (len (length str))) - (if (< len 8) - (concat (make-string (- 8 len) ? ) str) + (if (< len size-width) + (concat (make-string (- size-width len) ? ) str) str)) " " (format-time-string (concat