seq.el and eldoc version hack. only has to run once?

idk about this one. it seemed necessary but now it just takes time
This commit is contained in:
mir 2024-01-23 18:48:28 -09:00
parent e65f41d198
commit 6e76496838

23
init.el
View File

@ -283,6 +283,29 @@ If the current window occupies the whole frame, split it."
(write-region start end elpaca-bootstrap-file))))
(load-file elpaca-bootstrap-file)
;; see https://www.reddit.com/r/emacs/comments/1937vaz/emacs_291_on_windows_install_magit_requires_seq/?rdt=48529
;; ;; seq version workaround
;; (defun +elpaca-unload-seq (e)
;; (and (featurep 'seq) (unload-feature 'seq t))
;; (elpaca--continue-build e))
;; (defun +elpaca-seq-build-steps ()
;; (append (butlast (if (file-exists-p (expand-file-name "seq" elpaca-builds-directory))
;; elpaca--pre-built-steps elpaca-build-steps))
;; (list '+elpaca-unload-seq 'elpaca--activate-package)))
;; (elpaca seq :build (+elpaca-seq-build-steps))
;; ;; eldoc version workarounds...
;; (defun global-eldoc-mode (&rest args)
;; "Placeholder function. Do nothing and return nil."
;; nil)
;; (defun +elpaca-unload-eldoc (e)
;; (and (featurep 'eldoc) (unload-feature 'eldoc t))
;; (elpaca--continue-build e))
;; (defun +elpaca-eldoc-build-steps ()
;; (append (butlast (if (file-exists-p (expand-file-name "eldoc" elpaca-builds-directory))
;; elpaca--pre-built-steps elpaca-build-steps))
;; (list '+elpaca-unload-eldoc 'elpaca--activate-package)))
;; (elpaca eldoc :build (+elpaca-eldoc-build-steps))
(elpaca elpaca-use-package
(elpaca-use-package-mode)
(setq elpaca-use-package-by-default t))