projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbf510
)
Show more informative errors when they occur
author
John Wiegley
<johnw@newartisans.com>
Fri, 13 Mar 2015 07:58:37 +0000
(
02:58
-0500)
committer
John Wiegley
<johnw@newartisans.com>
Fri, 13 Mar 2015 07:58:37 +0000
(
02:58
-0500)
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 7b370380d4b039e1ea387c36da4c4c11794d2d5b..41127b0174be6c70af0ccd95580c79a34d6c2ba4 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-403,9
+403,10
@@
For full documentation. please see commentary.
(when (bound-and-true-p byte-compile-current-file)
,@defines-eval
(with-demoted-errors
- ,(if (stringp name)
- `(load ,name t)
- `(require ',name nil t)))))
+ ,(format "Error in %s: %%S" name)
+ ,(if (stringp name)
+ `(load ,name t)
+ `(require ',name nil t)))))
,(if (and (or commands (use-package-plist-get args :defer))
(not (use-package-plist-get args :demand)))