fix(Emacs gc): fix syntax of garbage-collecting function
All checks were successful
deploy / build (push) Successful in 2m42s
All checks were successful
deploy / build (push) Successful in 2m42s
This commit is contained in:
parent
27e912d9a1
commit
fa1194552d
@ -63,7 +63,8 @@ when it loses focus since I’m looking away.
|
||||
|
||||
Garbage collection is only triggered thirty seconds after losing
|
||||
focus, and only once."
|
||||
(if (frame-focus-state
|
||||
(if (frame-focus-state)
|
||||
(when (timerp my/gc-timer)
|
||||
(cancel-timer my/gc-timer))
|
||||
(setq my/gc-timer (run-with-idle-timer 30 nil #'my/garbage-collect))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user