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

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

[elpa] externals/gcmh 5664cb3 14/32: Add garbage collection start messag


From: Andrea Corallo
Subject: [elpa] externals/gcmh 5664cb3 14/32: Add garbage collection start message
Date: Mon, 16 Nov 2020 17:32:05 -0500 (EST)

branch: externals/gcmh
commit 5664cb3be0579a2e713df59cafffacd7223f5d4e
Author: Troy Hinckley <t.macman@gmail.com>
Commit: Troy Hinckley <t.macman@gmail.com>

    Add garbage collection start message
---
 gcmh.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcmh.el b/gcmh.el
index d5762c0..d2eae63 100644
--- a/gcmh.el
+++ b/gcmh.el
@@ -75,8 +75,9 @@ This is to be used with the `pre-command-hook'."
 (defun gcmh-idle-garbage-collect ()
   "Run garbage collection after `gcmh-idle-delay'."
   (if gcmh-verbose
-      (message "Garbage Collector ran for %.06f sec"
-               (gcmh-time (garbage-collect)))
+      (progn (message "Garbage collecting...")
+             (message "Garbage Collector ran for %.06f sec"
+                      (gcmh-time (garbage-collect))))
     (garbage-collect))
   (setq gc-cons-threshold gcmh-low-cons-threshold))
 



reply via email to

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