mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
Don't abort compiling if package loading fails
This commit is contained in:
parent
a4939e7ef3
commit
1c82b2377f
1 changed files with 4 additions and 3 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue