Suppressing ad-handle-definition Warnings in Emacs

I looked into it and these warnings are generated when functions are redefined with defadvice.
Most of the warnings I received were coming from third-party packages I had installed,
not my own configuration. In any case, they were not helpful, just noise during Emacs startup.
This commit is contained in:
Jesús 2019-09-17 14:51:26 -05:00
parent 0a423ad056
commit 7b4bedd58b
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -15,6 +15,8 @@
(menu-bar-mode 0) (menu-bar-mode 0)
(setq make-backup-files nil) ; stop creating backup~ files (setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files (setq auto-save-default nil) ; stop creating #autosave# files
;; Suppressing ad-handle-definition Warnings in Emacs
(setq ad-redefinition-action 'accept)
;;------------------------------ ;;------------------------------
;; Core settings | UTF-8 please ;; Core settings | UTF-8 please