]> git.eshelyaron.com Git - emacs.git/commit
Improve format of values returned by 'file-size-human-readable'
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Feb 2022 16:59:38 +0000 (18:59 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Feb 2022 16:59:38 +0000 (18:59 +0200)
commita90dc11e24895c4e6e5bfcfc991d8524f4075223
tree988438de0bc612dd10c07841ef7d1ac4494748a5
parent3a3387f58e64f5e119ead50456c2fa6cef1e195b
Improve format of values returned by 'file-size-human-readable'

* lisp/files.el (file-size-human-readable): Emit one digit of the
fractional part of the size only if there's just one digit before
the decimal point.
lisp/files.el