emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ab0554a197: Improve the elp-instrument-package doc string


From: Lars Ingebrigtsen
Subject: master ab0554a197: Improve the elp-instrument-package doc string
Date: Sat, 5 Feb 2022 19:02:00 -0500 (EST)

branch: master
commit ab0554a19774de193ff08aee35ea3f6726cf1f76
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 e5c94c09c2..385ddb3f41 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]