projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cf50ff
)
Display which package that has compile errors
author
Thomas Frössman
<thomasf@jossystem.se>
Sun, 14 Sep 2014 10:57:44 +0000
(12:57 +0200)
committer
Thomas Frössman
<thomasf@jossystem.se>
Sun, 14 Sep 2014 10:57:44 +0000
(12:57 +0200)
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index 7e4738fc9fe76e2cfb9f39499419f2a00e292a9f..34ea1ca30e56fb84d950880c8bf8a34cd41d9239 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-401,10
+401,11
@@
For full documentation. please see commentary.
(eval-when-compile
(when (bound-and-true-p byte-compile-current-file)
,@defines-eval
- (with-demoted-errors
- ,(if (stringp name)
- `(load ,name t)
- `(require ',name nil t)))))
+ (condition-case err
+ ,(if (stringp name)
+ `(load ,name t)
+ `(require ',name nil t))
+ (error (message "Error compiling %s: %s" ',name err) nil))))
,(if (and (or commands (use-package-plist-get args :defer))
(not (use-package-plist-get args :demand)))