From 6e7649683811dfa88fbab807c56ad0e450c73394 Mon Sep 17 00:00:00 2001 From: mir Date: Tue, 23 Jan 2024 18:48:28 -0900 Subject: [PATCH] seq.el and eldoc version hack. only has to run once? idk about this one. it seemed necessary but now it just takes time --- init.el | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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))