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)
|
||||
((let ((inhibit-message t)
|
||||
(save-silently t))
|
||||
,@forms
|
||||
(message "")))))
|
||||
(prog1 ,@forms (message ""))))))
|
||||
|
||||
(defmacro add-transient-hook! (hook-or-function &rest forms)
|
||||
"Attaches a self-removing function to HOOK-OR-FUNCTION.
|
||||
|
Reference in New Issue
Block a user