From 26e7000c0fec26bb5e0b0695f75bebd734b6234f Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 18 Feb 2026 14:25:42 -0500 Subject: [PATCH] Remove package-native-compile as it can cause issues with some packages --- early-init.el | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/early-init.el b/early-init.el index d72436a..6e775b8 100644 --- a/early-init.el +++ b/early-init.el @@ -87,7 +87,6 @@ When non-nil, the following variables are set to non-nil to enable native compilation features: - `native-comp-deferred-compilation' - `native-comp-jit-compilation' -- `package-native-compile' If nil, these variables are left at their default values and are not modified during setup.") @@ -187,12 +186,9 @@ pre-early-init.el, and post-early-init.el.") ;;; Native compilation and Byte compilation -(if (and (featurep 'native-compile) - (fboundp 'native-comp-available-p) - (native-comp-available-p)) - (when minimal-emacs-setup-native-compilation - ;; Activate `native-compile' - (setq package-native-compile t)) +(unless (and (featurep 'native-compile) + (fboundp 'native-comp-available-p) + (native-comp-available-p)) ;; Deactivate the `native-compile' feature if it is not available (setq features (delq 'native-compile features)))