Commit 5664cb3b authored by CeleritasCelery's avatar CeleritasCelery
Browse files

Add garbage collection start message

parent 72683e16
......@@ -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))))
(setq gc-cons-threshold gcmh-low-cons-threshold))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment