branch: externals/gcmh commit f449abb5629f28155dd87aff4b8708c01f92e00e Author: Andrea Corallo <andrea.cora...@arm.com> Commit: Andrea Corallo <andrea.cora...@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'."