Commit 39ec7e1a1fdd

Vincent Demeester <vincent@sbr.pm>
2025-04-08 16:56:24
tools/emacs: some byte-compile/native-comp configurations
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent ae0c741
Changed files (1)
tools
emacs
tools/emacs/init.el
@@ -243,7 +243,11 @@ The DWIM behaviour of this command is as follows:
 ;; Make native compilation silent and prune its cache.
 (when (native-comp-available-p)
   (setq native-comp-async-report-warnings-errors 'silent) ; Emacs 28 with native compilation
-  (setq native-compile-prune-cache t)) ; Emacs 29
+  (setq native-compile-prune-cache t)
+  (setq native-comp-jit-compilation t)
+  (setq native-comp-async-query-on-exit t)) ; Emacs 29
+
+(setq byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local))
 
 ;; Refactor this completely. Reduce to the minimum.
 (require '00-clean) ;; Maybe refactor no-littering