fix(init): workaround recursive load error in jka-compr with latest nightly builds

This commit is contained in:
2021-06-21 03:47:58 +01:00
parent 2d98386d24
commit b049ec652a

View File

@@ -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)