emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/emacs-gc-stats 2fc536b3b2 3/6: emacs-gc-stats-save-sess


From: ELPA Syncer
Subject: [elpa] externals/emacs-gc-stats 2fc536b3b2 3/6: emacs-gc-stats-save-session: Query and open mailto: link
Date: Sun, 18 Jun 2023 09:58:22 -0400 (EDT)

branch: externals/emacs-gc-stats
commit 2fc536b3b2657bddc3d01f5a339a1f60b2d3228b
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    emacs-gc-stats-save-session: Query and open mailto: link
    
    * emacs-gc-stats.el (emacs-gc-stats-save-session): Prompt to send
    email and open mailto:emacs-gc-stats@gnu.org link.
---
 emacs-gc-stats.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emacs-gc-stats.el b/emacs-gc-stats.el
index d8de3c37bf..ca4a69ff71 100644
--- a/emacs-gc-stats.el
+++ b/emacs-gc-stats.el
@@ -184,6 +184,10 @@ Otherwise, collect symbol."
             (setcdr (cdr existing) (cdr session))
           (push session previous-sessions)))
       (prin1 previous-sessions (current-buffer)))
+    (when
+       (yes-or-no-p
+        (format "GC stats saved to \"%s\".  Send email to 
emacs-gc-stats@gnu.org? " emacs-gc-stats-file))
+      (browse-url "mailto:emacs-gc-stats@gnu.org";))
     (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 ()



reply via email to

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