Move ad-redefinition-action to early-init.el

This commit is contained in:
James Cherti
2025-07-14 14:09:31 -04:00
parent 664c574657
commit 2d63b234b2
2 changed files with 3 additions and 5 deletions

View File

@@ -223,6 +223,9 @@ pre-early-init.el, and post-early-init.el.")
(when (boundp 'pgtk-wait-for-event-timeout)
(setq pgtk-wait-for-event-timeout 0.001))
;; Disable warnings from the legacy advice API. They aren't useful.
(setq ad-redefinition-action 'accept)
;;; Performance: Miscellaneous options
;; Font compacting can be very resource-intensive, especially when rendering

View File

@@ -38,11 +38,6 @@
(setq use-short-answers t)
(advice-add 'yes-or-no-p :override #'y-or-n-p))
;;; Features, warnings, and errors
;; Disable warnings from the legacy advice API. They aren't useful.
(setq ad-redefinition-action 'accept)
;;; Undo/redo
(setq undo-limit (* 13 160000)