Render the use-package-report table using Org

I noticed that the "Gathering Statistics" instructions for rendering the Org
table could be automated for convenience. Now the table is reformatted
automatically, and you can still manually sort it. I'm not sorting it by default
to maintain the same order of use-package forms for easier troubleshooting.
This commit is contained in:
Nick McCurdy 2017-12-16 14:52:14 -05:00
parent 2d226310f1
commit cb15dffbd7

View file

@ -972,6 +972,9 @@ meaning:
(float-time (gethash :preface-secs hash 0))
(float-time (gethash :use-package-secs hash 0))))))
use-package-statistics)
(goto-char (point-min))
(orgtbl-mode)
(orgtbl-ctrl-c-ctrl-c nil)
(display-buffer (current-buffer))))
(defun use-package-statistics-gather (keyword name after)