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

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

[elpa] externals/emacs-gc-stats 6590469311 3/9: emacs-gc-stats-save-sess


From: ELPA Syncer
Subject: [elpa] externals/emacs-gc-stats 6590469311 3/9: emacs-gc-stats-save-session: Fix call to `called-interactively-p'
Date: Tue, 20 Jun 2023 09:58:24 -0400 (EDT)

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

    emacs-gc-stats-save-session: Fix call to `called-interactively-p'
---
 emacs-gc-stats.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs-gc-stats.el b/emacs-gc-stats.el
index fdd382aa11..89660a94d1 100644
--- a/emacs-gc-stats.el
+++ b/emacs-gc-stats.el
@@ -193,7 +193,7 @@ Otherwise, collect symbol."
           (push session previous-sessions)))
       (prin1 previous-sessions (current-buffer)))
     (when
-       (and (called-interactively-p)
+       (and (called-interactively-p 'interactive)
             (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";))



reply via email to

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