Emacs: Append instead of prepend to startup hook
This commit is contained in:
@@ -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)))
|
||||||
|
|||||||
Reference in New Issue
Block a user