summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-03-16 02:48:55 -0500
committerJohn Wiegley <johnw@newartisans.com>2015-03-16 02:48:55 -0500
commit4029030eb564ef553d9135a6ec576786b0a0ea2a (patch)
treed07a6e5c88a02002a5b77f659a54687709965f8d
parentb75c1cb47e7ca8bc37536eab6b9534f2c8ecbea4 (diff)
downloademacs-4029030eb5.tar.gz
Output Compiling message only if verbose is enabled
-rw-r--r--lisp/use-package/use-package.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el
index 638a16ee992..c1e5c36fb88 100644
--- a/lisp/use-package/use-package.el
+++ b/lisp/use-package/use-package.el
@@ -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*