Move el-patch loading to early-init.el

This commit is contained in:
Case Duckworth 2021-09-16 08:38:24 -05:00
parent 827914ac8e
commit 092697468a
2 changed files with 6 additions and 4 deletions

View File

@ -191,15 +191,19 @@ say, `tool-bar-mode' once to toggle the tool bar back on."
before-init-time)))
gcs-done))
;;; `setup'
;;; Early-loaded packages
;; These packages are here because they need to be loaded /before/
;; everything else in init.el.
(straight-use-package '(setup :host nil :repo "https://git.sr.ht/~pkal/setup"))
(require 'setup)
(require 'acdw-setup)
;;; `no-littering'
(setup (:straight no-littering)
(:option no-littering-etc-directory (acdw/dir)
no-littering-var-directory (acdw/dir))
(require 'no-littering))
(setup (:straight el-patch))
;;; early-init.el ends here

View File

@ -644,8 +644,6 @@ AKA, DO NOT USE THIS FUNCTION!!!"
(defun edit-server@set-a-variable (&rest _)
(setq-local edit-server-frame-p t))))
(setup (:straight el-patch))
(setup eldoc
(:option eldoc-idle-delay 0.1
eldoc-echo-area-use-multiline-p nil))