diff --git a/init.el b/init.el index 2b5035e..c46f579 100644 --- a/init.el +++ b/init.el @@ -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))