mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(eshell-ls-file): Instead of making the size field in a long-listing
always 8 characters, use `size-width', which has already been computed.
This commit is contained in:
parent
8ceaf12633
commit
5a2e4c34bd
1 changed files with 2 additions and 2 deletions
|
|
@ -480,8 +480,8 @@ whose cdr is the list of file attributes."
|
|||
""))
|
||||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue