Fix bug #16179 with ls-lisp emulation of the ls -s switch.
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Dec 2013 16:01:43 +0000 (18:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Dec 2013 16:01:43 +0000 (18:01 +0200)
commit64e4c76edfed1464ee91848bba29ee0d385208e1
treeea9b1da48088ccf443b0cc8cff529ca3376ee348
parent18874304db15434bbc2a9bcf28b71c86f6dc4bd8
Fix bug #16179 with ls-lisp emulation of the ls -s switch.

 src/ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
 formats for displaying file sizes when the -s switch is given.
 Instead, compute a separate format for displaying the size in
 blocks, which is displayed in addition to the "regular" size.
 When -h is given in addition to -s, produce size in blocks in
 human-readable form as well.
lisp/ChangeLog
lisp/ls-lisp.el