Minor reorganization of core-lib
This commit is contained in:
parent
1b6abf47ef
commit
cef82fe0b0
1 changed files with 5 additions and 5 deletions
|
@ -43,9 +43,13 @@
|
||||||
"Return EXP wrapped in a list, or as-is if already a list."
|
"Return EXP wrapped in a list, or as-is if already a list."
|
||||||
(if (listp exp) exp (list exp)))
|
(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)
|
(defmacro λ! (&rest body)
|
||||||
|
@ -97,10 +101,6 @@ compilation."
|
||||||
(save-silently t))
|
(save-silently t))
|
||||||
,@forms))))
|
,@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)
|
(defvar doom--transient-counter 0)
|
||||||
(defmacro add-transient-hook! (hook &rest forms)
|
(defmacro add-transient-hook! (hook &rest forms)
|
||||||
"Attaches transient forms to a HOOK.
|
"Attaches transient forms to a HOOK.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue