From: John Wiegley Date: Sun, 17 Dec 2017 08:35:01 +0000 (-0800) Subject: Guard a call to display-warning with ignore X-Git-Tag: emacs-29.0.90~1306^2~15^2~91 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13fb5f4f2e02ef08f8c87017a8eb03d69cd59910;p=emacs.git Guard a call to display-warning with ignore Fixes https://github.com/jwiegley/use-package/issues/589 --- diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index dad68591cb3..80f1fe1f1d0 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -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)))))))