From 25a86c18c805e893ba247b442d3cf4aa88af354d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 19 Apr 2019 13:30:39 -0400 Subject: [PATCH] Fix quiet! not returning BODY's return value --- core/core-lib.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 6bc55a105..e02c31abf 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -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.