Add native-comp-async-query-on-exit

This commit is contained in:
James Cherti
2025-03-02 13:26:29 -05:00
parent 65b83b2310
commit fe2dc6c2f2

View File

@@ -27,6 +27,11 @@
;; Don't ping things that look like domain names. ;; Don't ping things that look like domain names.
(setq ffap-machine-p-known 'reject) (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 ;;; Undo/redo
(setq undo-limit (* 13 160000) (setq undo-limit (* 13 160000)