From fe2dc6c2f2907219ad2ce1a66728953e490d9c33 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 2 Mar 2025 13:26:29 -0500 Subject: [PATCH] Add native-comp-async-query-on-exit --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index 656b0dd..f42bb6b 100644 --- a/init.el +++ b/init.el @@ -27,6 +27,11 @@ ;; Don't ping things that look like domain names. (setq ffap-machine-p-known 'reject) +;; Ask the user whether to terminate asynchronous compilations on exit. +;; This prevents native compilation from leaving temporary files in /tmp. +(setq native-comp-async-query-on-exit t) +(setq confirm-kill-processes t) ; Required for `native-comp-async-query-on-exit' + ;;; Undo/redo (setq undo-limit (* 13 160000)