summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2017-12-05 13:11:17 -0800
committerJohn Wiegley <johnw@newartisans.com>2017-12-05 13:11:17 -0800
commit725d749b7c76f2a8c786922dc72cca5ae5e56e50 (patch)
tree467f86d209c0810b0b123b799fb8d2df6e664d46
parent0a628a27675491bbf154b4c641876ec1124a59ae (diff)
downloademacs-725d749b7c.tar.gz
Normalize errors should be errors, that are then caught by :catch
-rw-r--r--lisp/use-package/use-package-core.el5
1 files changed, 1 insertions, 4 deletions
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))