summaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/early-init.el b/early-init.el
index 79ff7816..c1cd54c8 100644
--- a/early-init.el
+++ b/early-init.el
@@ -58,8 +58,12 @@
;; ------------------------------ Bug Workarounds ------------------------------
-;; Prevent org-element from being natively compiled again by adding the line
-(setq native-comp-jit-compilation-deny-list '(".*org-element.*"))
+;; Disable async native compilation to prevent "Selecting deleted buffer" errors
+;; This is a known issue in Emacs 30.x where async compilation buffers get
+;; deleted before the compilation process completes. Synchronous compilation
+;; is slower initially but avoids these race conditions.
+(setq native-comp-deferred-compilation nil) ;; Disable async/deferred compilation
+(setq native-comp-async-report-warnings-errors nil) ;; Silence async warnings
;; --------------------------- Warning Notifications ---------------------------