[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/consult-recoll c5926ca3eb 1/2: format for size anno
From: |
Stefan Kangas |
Subject: |
Re: [elpa] externals/consult-recoll c5926ca3eb 1/2: format for size annotation |
Date: |
Fri, 14 Oct 2022 19:57:29 -0700 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Visuwesh [2022-10-14 07:14:02] wrote:
>> [வியாழன் அக்டோபர் 13, 2022] Stefan Monnier wrote:
>>> I see we have `memory-report--format` which does something similar.
>>> I'm pretty sure we have other chunks of code doing the same elsewhere.
>>> Should Someone™ introduce a function in `subr.el` or somesuch to solve
>>> it once and for all?
>> Don't we already have `file-size-human-readable' for that?
>
> Ah, that's it, thanks!
> So Consult should simply use that instead of `consult-recoll--format-size`.
I changed `memory-report--format' to use `file-size-human-readable'
(commit 8300899953).