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

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

[elpa] externals/emacs-gc-stats d9d6674b8e 5/6: fixup! emacs-gc-stats-sa


From: ELPA Syncer
Subject: [elpa] externals/emacs-gc-stats d9d6674b8e 5/6: fixup! 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 d9d6674b8ed3e3bc59c92f717e2d3b41954fb197
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    fixup! emacs-gc-stats-save-session: Query and open mailto: link
---
 emacs-gc-stats.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/emacs-gc-stats.el b/emacs-gc-stats.el
index 056ee4c628..68cd5471e3 100644
--- a/emacs-gc-stats.el
+++ b/emacs-gc-stats.el
@@ -185,8 +185,9 @@ Otherwise, collect symbol."
           (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))
+       (and (called-interactively-p)
+            (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)))
 



reply via email to

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