diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-11 18:48:44 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-11 18:48:44 +0100 |
commit | c7c261ebdf0232cc9263e8f8cbcc851a933076e0 (patch) | |
tree | a400201da057d085f48a543240c9d5b5c15c133e | |
parent | abc8d6b9465fecb989170426756c7ee4b133fd40 (diff) | |
download | emacs-c7c261ebdf0232cc9263e8f8cbcc851a933076e0.tar.gz emacs-c7c261ebdf0232cc9263e8f8cbcc851a933076e0.tar.bz2 emacs-c7c261ebdf0232cc9263e8f8cbcc851a933076e0.zip |
Tweak memory-report--format
* lisp/emacs-lisp/memory-report.el (memory-report--format): Make
everything line up, even when there's "1023.4kB".
-rw-r--r-- | lisp/emacs-lisp/memory-report.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |