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:
parent
2d226310f1
commit
cb15dffbd7
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue