Browse Source

Emacs: Append instead of prepend to startup hook

master
Riyyi 6 months ago
parent
commit
795f2aad5b
  1. 2
      .config/emacs/site-lisp/dot-elpaca.el

2
.config/emacs/site-lisp/dot-elpaca.el

@ -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)))

Loading…
Cancel
Save