branch: externals/emacs-gc-stats commit 65904693115db32cea48b7a1aed84f54854dda3f Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@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-st...@gnu.org? " emacs-gc-stats-file))) (browse-url "mailto:emacs-gc-st...@gnu.org"))