Fix minimal-emacs-gc-cons-threshold-restore-delay timer
This commit is contained in:
@@ -174,7 +174,7 @@ pre-early-init.el, and post-early-init.el.")
|
||||
"Restore garbage collection settings."
|
||||
(if (bound-and-true-p minimal-emacs-gc-cons-threshold-restore-delay)
|
||||
;; Defer garbage collection during initialization to avoid 2 collections.
|
||||
(run-at-time minimal-emacs-gc-cons-threshold-restore-delay nil
|
||||
(run-with-timer minimal-emacs-gc-cons-threshold-restore-delay nil
|
||||
#'minimal-emacs--restore-gc-values)
|
||||
(minimal-emacs--restore-gc-values)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user