projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4939e7
)
Don't abort compiling if package loading fails
author
Thomas Frössman
<thomasf@jossystem.se>
Sat, 17 May 2014 08:28:41 +0000
(10:28 +0200)
committer
Thomas Frössman
<thomasf@jossystem.se>
Sat, 17 May 2014 08:48:20 +0000
(10:48 +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 0012d26597d509a9d54a2f2d0929d17e72ff384b..7b370380d4b039e1ea387c36da4c4c11794d2d5b 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-402,9
+402,10
@@
For full documentation. please see commentary.
(eval-when-compile
(when (bound-and-true-p byte-compile-current-file)
,@defines-eval
- ,(if (stringp name)
- `(load ,name t)
- `(require ',name nil t))))
+ (with-demoted-errors
+ ,(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)))