fix: void-variable native-comp-deferred-compilation-deny-list

Error occurs on Emacs 30.0.92 or newer, because this variable (what it's
aliased to, at least) was moved to comp-run.el, upstream.

Ref: emacsmirror/emacs@e6a955d242
This commit is contained in:
Henrik Lissner
2024-12-01 01:20:45 -05:00
parent be6fcece3a
commit 87a0d9d2e1

View File

@ -644,6 +644,10 @@ of 'doom sync' or 'doom gc'."
(apply fn args)))
(after! comp
;; HACK: On Emacs 30.0.92, `native-comp-jit-compilation-deny-list' was moved
;; to comp-run. See emacsmirror/emacs@e6a955d24268. Doom forces straight
;; to consult this variable when building packages.
(require 'comp-run nil t)
;; HACK Disable native-compilation for some troublesome packages
(mapc (doom-partial #'add-to-list 'native-comp-deferred-compilation-deny-list)
(list "/seq-tests\\.el\\'"