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: emacs-29.0.90~1306^2~15^2~139 X-Git-Url: http://git.eshelyaron.com/gitweb/?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))