Emacs: Append instead of prepend to startup hook

This commit is contained in:
Riyyi
2024-05-13 21:51:13 +02:00
parent cf156ca80b
commit 795f2aad5b
+1 -1
View File
@@ -52,7 +52,7 @@
(defmacro elpaca-nil (body) (defmacro elpaca-nil (body)
"Defer execution until all Elpaca queues have been processed." "Defer execution until all Elpaca queues have been processed."
(declare (indent 1)) (declare (indent 1))
`(add-hook 'elpaca-after-init-hook (lambda () (,@body)))) `(add-hook 'elpaca-after-init-hook (lambda () (,@body)) 1))
;; Stop coping with startup time, its done loading when its done loading ;; Stop coping with startup time, its done loading when its done loading
(elpaca-nil (setq after-init-time (current-time))) (elpaca-nil (setq after-init-time (current-time)))