From f6814236afac46d5717e39527f94c1d710f539e1 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Mon, 14 Jul 2025 14:13:41 -0400 Subject: [PATCH] Revert "Move use-short-answers to early-init.el" This reverts commit cfd29d40ccb6741c11b021c31977567a60b04b1b. --- early-init.el | 10 ---------- init.el | 12 ++++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/early-init.el b/early-init.el index 5115c6c..9abbfb7 100644 --- a/early-init.el +++ b/early-init.el @@ -226,16 +226,6 @@ pre-early-init.el, and post-early-init.el.") ;; Disable warnings from the legacy advice API. They aren't useful. (setq ad-redefinition-action 'accept) -;; 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) - -;; Allow for shorter responses: "y" for yes and "n" for no. -(setq read-answer-short t) -(if (boundp 'use-short-answers) - (setq use-short-answers t) - (advice-add 'yes-or-no-p :override #'y-or-n-p)) - ;;; Performance: Miscellaneous options ;; Font compacting can be very resource-intensive, especially when rendering diff --git a/init.el b/init.el index d505341..5f435d6 100644 --- a/init.el +++ b/init.el @@ -26,6 +26,18 @@ (minimal-emacs-load-user-init "pre-init.el") (error "The early-init.el file failed to loaded")) +;;; Before package + +;; 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) + +;; Allow for shorter responses: "y" for yes and "n" for no. +(setq read-answer-short t) +(if (boundp 'use-short-answers) + (setq use-short-answers t) + (advice-add 'yes-or-no-p :override #'y-or-n-p)) + ;;; Undo/redo (setq undo-limit (* 13 160000)