branch: elpa/magit
commit b34bb9e230e3fb6162f7f9ea7b0d9c7eab40aa05
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-profile-refresh-buffer: Print message
---
 lisp/magit-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index 8dc4cf4f037..ab68681bec9 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -1095,9 +1095,11 @@ Run hooks `magit-pre-refresh-hook' and 
`magit-post-refresh-hook'."
   (require (quote elp))
   (when (fboundp 'elp-reset-all)
     (elp-reset-all)
+    (message "Profiling Magit and Forge...")
     (elp-instrument-package "magit-")
     (elp-instrument-package "forge-")
     (magit-refresh-buffer)
+    (message "Profiling Magit and Forge...done")
     (elp-results)
     (elp-reset-all)))
 

Reply via email to