From: John Wiegley Date: Tue, 5 Dec 2017 21:11:17 +0000 (-0800) Subject: Normalize errors should be errors, that are then caught by :catch X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1745^2~15^2~139 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=725d749b7c76f2a8c786922dc72cca5ae5e56e50;p=emacs.git Normalize errors should be errors, that are then caught by :catch --- diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 9705a48c603..c1d5233e1ed 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -478,10 +478,7 @@ extending any keys already present." (funcall merge-function keyword arg (plist-get plist keyword)) arg))) - (ignore - (display-warning 'use-package - (format "Unrecognized keyword: %s" keyword) - :warning)))))) + (use-package-error (format "Unrecognized keyword: %s" keyword)))))) (defun use-package-unalias-keywords (name args) (setq args (cl-nsubstitute :if :when args))