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

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

[elpa] externals/gcmh f449abb 27/32: No reason anymore to use `run-with-


From: Andrea Corallo
Subject: [elpa] externals/gcmh f449abb 27/32: No reason anymore to use `run-with-idle-timer' so use `run-with-timer'
Date: Mon, 16 Nov 2020 17:32:08 -0500 (EST)

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

    No reason anymore to use `run-with-idle-timer' so use `run-with-timer'
---
 gcmh.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcmh.el b/gcmh.el
index 99227b5..fedea6d 100644
--- a/gcmh.el
+++ b/gcmh.el
@@ -92,7 +92,7 @@ Cancel the previous one if present."
     (when (timerp gcmh-idle-timer)
       (cancel-timer gcmh-idle-timer))
     (setf gcmh-idle-timer
-         (run-with-idle-timer idle-t nil #'gcmh-idle-garbage-collect))))
+         (run-with-timer idle-t nil #'gcmh-idle-garbage-collect))))
 
 (defun gcmh-idle-garbage-collect ()
   "Run garbage collection after `gcmh-idle-delay'."



reply via email to

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