Move el-patch loading to early-init.el
This commit is contained in:
parent
827914ac8e
commit
092697468a
|
@ -191,15 +191,19 @@ say, `tool-bar-mode' once to toggle the tool bar back on."
|
||||||
before-init-time)))
|
before-init-time)))
|
||||||
gcs-done))
|
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"))
|
(straight-use-package '(setup :host nil :repo "https://git.sr.ht/~pkal/setup"))
|
||||||
(require 'setup)
|
(require 'setup)
|
||||||
(require 'acdw-setup)
|
(require 'acdw-setup)
|
||||||
|
|
||||||
;;; `no-littering'
|
|
||||||
(setup (:straight no-littering)
|
(setup (:straight no-littering)
|
||||||
(:option no-littering-etc-directory (acdw/dir)
|
(:option no-littering-etc-directory (acdw/dir)
|
||||||
no-littering-var-directory (acdw/dir))
|
no-littering-var-directory (acdw/dir))
|
||||||
(require 'no-littering))
|
(require 'no-littering))
|
||||||
|
|
||||||
|
(setup (:straight el-patch))
|
||||||
|
|
||||||
;;; early-init.el ends here
|
;;; early-init.el ends here
|
||||||
|
|
2
init.el
2
init.el
|
@ -644,8 +644,6 @@ AKA, DO NOT USE THIS FUNCTION!!!"
|
||||||
(defun edit-server@set-a-variable (&rest _)
|
(defun edit-server@set-a-variable (&rest _)
|
||||||
(setq-local edit-server-frame-p t))))
|
(setq-local edit-server-frame-p t))))
|
||||||
|
|
||||||
(setup (:straight el-patch))
|
|
||||||
|
|
||||||
(setup eldoc
|
(setup eldoc
|
||||||
(:option eldoc-idle-delay 0.1
|
(:option eldoc-idle-delay 0.1
|
||||||
eldoc-echo-area-use-multiline-p nil))
|
eldoc-echo-area-use-multiline-p nil))
|
||||||
|
|
Loading…
Reference in New Issue