Revert "Move use-short-answers to early-init.el"
This reverts commit cfd29d40cc.
This commit is contained in:
@@ -226,16 +226,6 @@ pre-early-init.el, and post-early-init.el.")
|
|||||||
;; Disable warnings from the legacy advice API. They aren't useful.
|
;; Disable warnings from the legacy advice API. They aren't useful.
|
||||||
(setq ad-redefinition-action 'accept)
|
(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
|
;;; Performance: Miscellaneous options
|
||||||
|
|
||||||
;; Font compacting can be very resource-intensive, especially when rendering
|
;; Font compacting can be very resource-intensive, especially when rendering
|
||||||
|
|||||||
12
init.el
12
init.el
@@ -26,6 +26,18 @@
|
|||||||
(minimal-emacs-load-user-init "pre-init.el")
|
(minimal-emacs-load-user-init "pre-init.el")
|
||||||
(error "The early-init.el file failed to loaded"))
|
(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
|
;;; Undo/redo
|
||||||
|
|
||||||
(setq undo-limit (* 13 160000)
|
(setq undo-limit (* 13 160000)
|
||||||
|
|||||||
Reference in New Issue
Block a user