From ab0554a19774de193ff08aee35ea3f6726cf1f76 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 6 Feb 2022 01:00:04 +0100 Subject: [PATCH] Improve the elp-instrument-package doc string * lisp/emacs-lisp/elp.el (elp-instrument-package): Note the effect of loading further files (bug#13252). --- lisp/emacs-lisp/elp.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el index e5c94c09c27..385ddb3f414 100644 --- a/lisp/emacs-lisp/elp.el +++ b/lisp/emacs-lisp/elp.el @@ -287,7 +287,12 @@ type \"nil\" to use `elp-function-list'." "Instrument for profiling, all functions which start with PREFIX. For example, to instrument all ELP functions, do the following: - \\[elp-instrument-package] RET elp- RET" + \\[elp-instrument-package] RET elp- RET + +Note that only functions that are currently loaded will be +instrumented. If you run this function, and then later load +further functions that start with PREFIX, they will not be +instrumented automatically." (interactive (list (completing-read "Prefix of package to instrument: " obarray 'elp-profilable-p))) -- 2.39.5