changeset 53066:52b1635cd53f

(eshell-ls-file): Instead of making the size field in a long-listing always 8 characters, use `size-width', which has already been computed.
author John Wiegley <johnw@newartisans.com>
date Sun, 16 Nov 2003 09:23:49 +0000
parents 3951aa044134
children 92487270aa3e
files lisp/eshell/em-ls.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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