diff --git a/early-init.el b/early-init.el index f032939..9abbfb7 100644 --- a/early-init.el +++ b/early-init.el @@ -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 diff --git a/init.el b/init.el index e1f8f54..5f435d6 100644 --- a/init.el +++ b/init.el @@ -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)