From b049ec652a064bc211abd6a022d135a08d548e15 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 21 Jun 2021 03:47:58 +0100 Subject: [PATCH] fix(init): workaround recursive load error in jka-compr with latest nightly builds --- core/siren-core-packages.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/siren-core-packages.el b/core/siren-core-packages.el index 6a72adb..7266503 100644 --- a/core/siren-core-packages.el +++ b/core/siren-core-packages.el @@ -6,6 +6,14 @@ ;;; Code: +;; TODO: Look into a better solution for this workaround. +;; +;; Hacky workaround for recursive load error caused by jka-compr when +;; load-prefer-newer is enabled. +(setq load-prefer-newer nil) +(require 'jka-compr) +(setq load-prefer-newer t) + ;; Initialize straight.el (setq straight-cache-autoloads t straight-check-for-modifications '(check-on-save find-when-checking)