From cdaf01622bac68da0b6d4b0e899a73f09feaf855 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Thu, 2 Nov 2023 11:02:01 +0000 Subject: [PATCH] Move seq fix for bootstrapping issue --- init.el | 5 ----- lisp/init-elpa.el | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index dacdadd2da..e188779ebc 100644 --- a/init.el +++ b/init.el @@ -45,11 +45,6 @@ ;; Allow users to provide an optional "init-preload-local.el" (require 'init-preload-local nil t) -;; Work around an issue in Emacs 29 where this gets implicitly -;; reinstalled via the rg -> transient dependency chain, but fails to -;; reload cleanly, breaking first-time start-up -(require-package 'seq "2.24") - ;; Load configs for specific features and modes (require-package 'diminish) (maybe-require-package 'scratch) diff --git a/lisp/init-elpa.el b/lisp/init-elpa.el index 8700c3ac38..872127ff94 100644 --- a/lisp/init-elpa.el +++ b/lisp/init-elpa.el @@ -85,6 +85,11 @@ advice for `require-package', to which ARGS are passed." (advice-add 'require-package :around 'sanityinc/note-selected-package) +;; Work around an issue in Emacs 29 where this gets implicitly +;; reinstalled via the rg -> transient dependency chain, but fails to +;; reload cleanly, breaking first-time start-up +(require-package 'seq "2.24") + (when (fboundp 'package--save-selected-packages) (require-package 'seq) (add-hook 'after-init-hook