mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 02:50:26 -08:00
Merge pull request from thomasf/master
Don't abort compiling package loading fails GitHub-reference: https://github.com/jwiegley/use-package/issues/106
This commit is contained in:
commit
2d67e1dca1
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
|
||||
(with-demoted-errors
|
||||
,(if (stringp name)
|
||||
`(load ,name t)
|
||||
`(require ',name nil 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