]> git.eshelyaron.com Git - emacs.git/commitdiff
Output Compiling message only if verbose is enabled
authorJohn Wiegley <johnw@newartisans.com>
Mon, 16 Mar 2015 07:48:55 +0000 (02:48 -0500)
committerJohn Wiegley <johnw@newartisans.com>
Mon, 16 Mar 2015 07:48:55 +0000 (02:48 -0500)
lisp/use-package/use-package.el

index 638a16ee992a456d35f0d4213fb282a488b0a73c..c1e5c36fb880e933b0a2051aec325ae7b29c36b9 100644 (file)
@@ -521,7 +521,8 @@ this file.  Usage:
                             (plist-get args* :defines))
                   (with-demoted-errors
                       ,(format "Error in %s: %%S" name-string)
-                    (message "Compiling package %s" ,name-string)
+                    (if use-package-verbose
+                        (message "Compiling package %s" ,name-string))
                     (require ',name-symbol nil t))))))
 
            (body*