mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix quiet! not returning BODY's return value
This commit is contained in:
@ -258,8 +258,7 @@ BODY is evaluated once TARGETS are loaded. TARGETS can either be:
|
|||||||
,@forms)
|
,@forms)
|
||||||
((let ((inhibit-message t)
|
((let ((inhibit-message t)
|
||||||
(save-silently t))
|
(save-silently t))
|
||||||
,@forms
|
(prog1 ,@forms (message ""))))))
|
||||||
(message "")))))
|
|
||||||
|
|
||||||
(defmacro add-transient-hook! (hook-or-function &rest forms)
|
(defmacro add-transient-hook! (hook-or-function &rest forms)
|
||||||
"Attaches a self-removing function to HOOK-OR-FUNCTION.
|
"Attaches a self-removing function to HOOK-OR-FUNCTION.
|
||||||
|
Reference in New Issue
Block a user