From 7b4bedd58bb4521909a9e88f5aa3aeaf4dfa4cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 17 Sep 2019 14:51:26 -0500 Subject: 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. --- modules/init-gui.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/init-gui.el') diff --git a/modules/init-gui.el b/modules/init-gui.el index ba3320b..2d90ed5 100644 --- a/modules/init-gui.el +++ b/modules/init-gui.el @@ -15,6 +15,8 @@ (menu-bar-mode 0) (setq make-backup-files nil) ; stop creating backup~ 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 -- cgit v1.2.3