aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-gui.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-09-17 14:51:26 -0500
committerJesús <heckyel@hyperbola.info>2019-09-17 14:51:26 -0500
commit7b4bedd58bb4521909a9e88f5aa3aeaf4dfa4cda (patch)
tree1319ae707b00e8021430a22f3d8fbdd5d2dbd17a /modules/init-gui.el
parent0a423ad056499b02b9a443499dd3a53e637c0847 (diff)
downloademacs-personal-7b4bedd58bb4521909a9e88f5aa3aeaf4dfa4cda.tar.lz
emacs-personal-7b4bedd58bb4521909a9e88f5aa3aeaf4dfa4cda.tar.xz
emacs-personal-7b4bedd58bb4521909a9e88f5aa3aeaf4dfa4cda.zip
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.
Diffstat (limited to 'modules/init-gui.el')
-rw-r--r--modules/init-gui.el2
1 files changed, 2 insertions, 0 deletions
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