Move ad-redefinition-action to early-init.el
This commit is contained in:
@@ -223,6 +223,9 @@ pre-early-init.el, and post-early-init.el.")
|
|||||||
(when (boundp 'pgtk-wait-for-event-timeout)
|
(when (boundp 'pgtk-wait-for-event-timeout)
|
||||||
(setq pgtk-wait-for-event-timeout 0.001))
|
(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
|
;;; Performance: Miscellaneous options
|
||||||
|
|
||||||
;; Font compacting can be very resource-intensive, especially when rendering
|
;; Font compacting can be very resource-intensive, especially when rendering
|
||||||
|
|||||||
5
init.el
5
init.el
@@ -38,11 +38,6 @@
|
|||||||
(setq use-short-answers t)
|
(setq use-short-answers t)
|
||||||
(advice-add 'yes-or-no-p :override #'y-or-n-p))
|
(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
|
;;; Undo/redo
|
||||||
|
|
||||||
(setq undo-limit (* 13 160000)
|
(setq undo-limit (* 13 160000)
|
||||||
|
|||||||
Reference in New Issue
Block a user