mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Guard a call to display-warning with ignore
Fixes https://github.com/jwiegley/use-package/issues/589
This commit is contained in:
parent
2d226310f1
commit
13fb5f4f2e
@ -1510,10 +1510,11 @@ this file. Usage:
|
||||
(condition-case-unless-debug err
|
||||
(use-package-core name args)
|
||||
(error
|
||||
(display-warning
|
||||
'use-package
|
||||
(format "Failed to parse package %s: %s"
|
||||
name (error-message-string err)) :error))))
|
||||
(ignore
|
||||
(display-warning
|
||||
'use-package
|
||||
(format "Failed to parse package %s: %s"
|
||||
name (error-message-string err)) :error)))))
|
||||
(when use-package-compute-statistics
|
||||
`((use-package-statistics-gather :use-package ',name t)))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user