From: Nick McCurdy Date: Sat, 16 Dec 2017 19:52:14 +0000 (-0500) Subject: Render the use-package-report table using Org X-Git-Tag: emacs-29.0.90~1306^2~15^2~89^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb15dffbd730af0617fec224289d53ea4682162e;p=emacs.git 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. --- diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index dad68591cb3..d770be1d1c3 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -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)