]> git.eshelyaron.com Git - emacs.git/commitdiff
Normalize errors should be errors, that are then caught by :catch
authorJohn Wiegley <johnw@newartisans.com>
Tue, 5 Dec 2017 21:11:17 +0000 (13:11 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Tue, 5 Dec 2017 21:11:17 +0000 (13:11 -0800)
lisp/use-package/use-package-core.el

index 9705a48c603e7fe88fa0adf9e8d603a34518f92a..c1d5233e1ede37351d1811fd22a261f6c0a7d7de 100644 (file)
@@ -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))