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
|
@ -97,6 +97,10 @@ compilation."
|
|||
(save-silently t))
|
||||
,@forms))))
|
||||
|
||||
(defun doom*shut-up (orig-fn &rest args)
|
||||
"Generic advisor for silencing noisy functions."
|
||||
(quiet! (apply orig-fn args)))
|
||||
|
||||
(defvar doom--transient-counter 0)
|
||||
(defmacro add-transient-hook! (hook &rest forms)
|
||||
"Attaches transient forms to a HOOK.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue