Fix quiet! not returning BODY's return value
This commit is contained in:
parent
cf7ef0f99f
commit
25a86c18c8
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue