From cef82fe0b00bd4382708f3d2bb2e228ea93aa9cb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 11 May 2018 20:23:49 +0200 Subject: [PATCH] Minor reorganization of core-lib --- core/core-lib.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 37b6e6c6b..9d68fa636 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -43,9 +43,13 @@ "Return EXP wrapped in a list, or as-is if already a list." (if (listp exp) exp (list exp))) +(defun doom*shut-up (orig-fn &rest args) + "Generic advisor for silencing noisy functions." + (quiet! (apply orig-fn args))) + ;; -;; Library +;; Macros ;; (defmacro λ! (&rest body) @@ -97,10 +101,6 @@ 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.