Add doom*shut-up advisor to core-lib
This commit is contained in:
parent
35e5dbcb11
commit
aef9724324
4 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue