Tweak memory-report--format

* lisp/emacs-lisp/memory-report.el (memory-report--format): Make
everything line up, even when there's "1023.4kB".
This commit is contained in:
Lars Ingebrigtsen 2020-12-11 18:48:44 +01:00
parent abc8d6b946
commit c7c261ebdf

View file

@ -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))