diff options
| author | Ihor Radchenko <yantar92@posteo.net> | 2023-06-16 14:45:47 +0300 |
|---|---|---|
| committer | Ihor Radchenko <yantar92@posteo.net> | 2023-06-16 14:45:47 +0300 |
| commit | 02bb72e5ea6cc4b710e3d94930d4b382eeff1eee (patch) | |
| tree | cefa9aa013dcfd46d9ef25dcc9f27dd94c7c4c5f | |
| parent | e40279002a3a43bd2ebec30292685e55b3ff0c84 (diff) | |
Add email address to share the results
* emacs-gc-stats.el (emacs-gc-stats-save-session): Tell user where to
share the results.
* README.org: Update, adding email address to be used for sharing the
results.
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | README.org | 3 | ||||
| -rw-r--r-- | emacs-gc-stats.el | 3 |
3 files changed, 6 insertions, 3 deletions
@@ -16,7 +16,8 @@ to your init file to enable the statistics acquiring. When you are ready to share the results, run `M-x emacs-gc-stats-save-session` and then share the saved `emacs-gc-stats-file` (defaults to -`~/.emacs.d/emacs-gc-stats.eld`). +`~/.emacs.d/emacs-gc-stats.eld`) by sending an email attachment to +<mailto:emacs-gc-stats@gnu.org>. You can use `M-x emacs-gc-stats-clear` to clear the currently collected session data. @@ -19,7 +19,8 @@ to your init file to enable the statistics acquiring. When you are ready to share the results, run =M-x emacs-gc-stats-save-session= and then share the saved ~emacs-gc-stats-file~ (defaults to -=~/.emacs.d/emacs-gc-stats.eld=). +=~/.emacs.d/emacs-gc-stats.eld=) by sending an email attachment to +mailto:emacs-gc-stats@gnu.org. You can use =M-x emacs-gc-stats-clear= to clear the currently collected session data. diff --git a/emacs-gc-stats.el b/emacs-gc-stats.el index 6773d23..237f718 100644 --- a/emacs-gc-stats.el +++ b/emacs-gc-stats.el @@ -183,7 +183,8 @@ Otherwise, collect symbol." (if existing (setcdr (cdr existing) (cdr session)) (push session previous-sessions))) - (prin1 previous-sessions (current-buffer))))) + (prin1 previous-sessions (current-buffer))) + (message "GC stats saved to \"%s\". You can share the file by sending email to emacs-gc-stats@gnu.org" emacs-gc-stats-file))) (defun emacs-gc-stats-clear () "Clear GC stats collected so far." |
