From c7c261ebdf0232cc9263e8f8cbcc851a933076e0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 11 Dec 2020 18:48:44 +0100 Subject: [PATCH] Tweak memory-report--format * lisp/emacs-lisp/memory-report.el (memory-report--format): Make everything line up, even when there's "1023.4kB". --- lisp/emacs-lisp/memory-report.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/memory-report.el b/lisp/emacs-lisp/memory-report.el index 58555fa9f0d..0184c7ed8a5 100644 --- a/lisp/emacs-lisp/memory-report.el +++ b/lisp/emacs-lisp/memory-report.el @@ -234,7 +234,7 @@ by counted more than once." (while (>= bytes 1024) (setq bytes (/ bytes 1024.0)) (setq units (cdr units))) - (format "%5.1f%s" bytes (car units)))) + (format "%6.1f%s" bytes (car units)))) (defun memory-report--gc-elem (elems type) (* (nth 1 (assq type elems)) -- 2.39.2