From: Lars Ingebrigtsen Date: Fri, 11 Dec 2020 17:48:44 +0000 (+0100) Subject: Tweak memory-report--format X-Git-Tag: emacs-28.0.90~4780 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7c261ebdf0232cc9263e8f8cbcc851a933076e0;p=emacs.git Tweak memory-report--format * lisp/emacs-lisp/memory-report.el (memory-report--format): Make everything line up, even when there's "1023.4kB". --- 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))