Don't abort compiling if package loading fails

This commit is contained in:
Thomas Frössman 2014-05-17 10:28:41 +02:00
parent a4939e7ef3
commit 1c82b2377f

View file

@ -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)))