Add doom*shut-up advisor to core-lib

This commit is contained in:
Henrik Lissner
2018-04-23 00:03:28 -04:00
parent 35e5dbcb11
commit aef9724324
4 changed files with 8 additions and 7 deletions

View File

@ -297,9 +297,7 @@
(when (bound-and-true-p doom-modules)
(section! "test-modules")
(let ((indent 4))
(defun --quiet-require (orig-fn &rest args)
(quiet! (apply orig-fn args)))
(advice-add #'require :around #'--quiet-require)
(advice-add #'require :around #'doom*shut-up)
(maphash
(lambda (key plist)
(condition-case ex