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

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

[elpa] externals/gcmh 2827dff 31/32: Clean-up unnecessary logic


From: Andrea Corallo
Subject: [elpa] externals/gcmh 2827dff 31/32: Clean-up unnecessary logic
Date: Mon, 16 Nov 2020 17:32:08 -0500 (EST)

branch: externals/gcmh
commit 2827dfff7568786f8055f57a9bbb56d74f126889
Author: Andrea Corallo <andrea.corallo@arm.com>
Commit: Andrea Corallo <andrea.corallo@arm.com>

    Clean-up unnecessary logic
---
 gcmh.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gcmh.el b/gcmh.el
index e576704..590a5d6 100644
--- a/gcmh.el
+++ b/gcmh.el
@@ -112,10 +112,6 @@ Cancel the previous one if present."
   "Minor mode to tweak Garbage Collection strategy."
   :lighter " GCMH"
   :global t
-
-  ;; Cancel any pending timer (prevents duplicate idle timers).
-  (when (timerp gcmh-idle-timer)
-    (cancel-timer gcmh-idle-timer))
   (if gcmh-mode
       (progn
         (setf gc-cons-threshold gcmh-high-cons-threshold)



reply via email to

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