From: Stefan Kangas Date: Thu, 8 Dec 2022 05:36:44 +0000 (+0100) Subject: ; Document use-package-reset-statistics X-Git-Tag: emacs-29.0.90~1306^2~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d3e9bd3b57ddd4b42c611a4141d0188d17c52f05;p=emacs.git ; Document use-package-reset-statistics * doc/misc/use-package.texi (Gathering Statistics): Document use-package-reset-statistics. --- diff --git a/doc/misc/use-package.texi b/doc/misc/use-package.texi index c1cc22808e6..f69b3123f30 100644 --- a/doc/misc/use-package.texi +++ b/doc/misc/use-package.texi @@ -1553,14 +1553,18 @@ reload your packages, normally by restarting Emacs, to make sure that use-package can gather statistics for all your packages. @cindex use-package-report -Run the command @code{M-x use-package-report} to see the results. The +Run the command @kbd{M-x use-package-report} to see the results. The buffer displayed is a tabulated list. To sort rows based on a particular column, move point to it and type @kbd{S}, or click the column name at the top of the buffer on graphical displays. +@cindex use-package-reset-statistics +To reset all statistics that use-package has gathered for the current +Emacs invocation, run the command @kbd{M-x use-package-reset-statistics}. + Note that, if you are setting @code{use-package-compute-statistics} directly in your init file, and not with @code{customize}, you must do -this after loading @code{use-package} but before any +this after loading @code{use-package}, but before any @code{use-package} forms. @node Disabling a package