From d3e9bd3b57ddd4b42c611a4141d0188d17c52f05 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 8 Dec 2022 06:36:44 +0100 Subject: [PATCH] ; Document use-package-reset-statistics * doc/misc/use-package.texi (Gathering Statistics): Document use-package-reset-statistics. --- doc/misc/use-package.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.2