Add documentation for `use-package-report'

This commit is contained in:
John Wiegley 2017-12-06 11:53:21 -08:00
parent beee6b8d4d
commit 71fc224961

View file

@ -863,6 +863,13 @@ representing symbols (that may need to be autloaded)."
(setq use-package-statistics (make-hash-table)))
(defun use-package-report ()
"Show current statistics gathered about use-package declarations.
In the table that's generated, the status field has the following
meaning:
Configured :config has been processed (the package is loaded!)
Initialized :init has been processed (load status unknown)
Prefaced :preface has been processed
Declared the use-package declaration was seen"
(interactive)
(with-current-buffer (get-buffer-create "*use-package statistics*")
(delete-region (point-min) (point-max))